Saturday, March 9, 2013

Details and Examples net user /domain user info from the command line

Use the command "net user accountname /domain" to display user information
Running that command gives you something like this: net user thinnawutp /domain (2 domain output sample)


net user

Net User
 
To obtain a list of domain users and groups you can query the domain controller as follows:
net user /domain > users.txt
net group /domain > groups.txt

1 comments:

Thanks for such a useful tips. Its a good recommendation indeed! Greatly appreciate it.

Post a Comment