View your current user:
- whoami
View information about the current user:
-
net user afsimmons
-
net user afsimmons /domain (For a domain user)
View Local Groups:
- net localgroup
- net localgroup Administrators
Add a new user:
- net user afsimmons enterpasswordhere /add
Add a user in a localgroup:
- net localgroup Administrators afsimmons