I would like to introduce you a useful command “Net user”.
The net user command is the command which allows us to get some important information about a user and even we can make some changes.
Using this command can perform multiple varieties of things:
1. Create a new user.
2. Change User Password.
3. Adding “Domain” command to the net user we can query AD directly about a particular user, which group is a member.
4. When the user changes the password.
5. When a user’s password will be expired.
6. We even can get OS information.
7. Get NETBIOS paths.
For more information you can review the following URL:
net user “Username”/domain | Find “Group”:
The next one is really useful:
net user “Username” /domain: