Windows - View User and Group Information using CLI

You can just use the CLI to ​quickly see the list of users on ​the computer using the command, Get-LocalUser. ​As you can see, it lists my user account, ​a few other users, ​and a couple of other default accounts ​that are part of windows. ​Here you can see that my local ​administrator account isn’t enabled. Pasted image 20260621221427

What about groups? Pasted image 20260621221455

What if we want to see who is in a group, such as Administrators? Pasted image 20260621221622