Monday, 1 August 2016

Getting detailed domain user info from the command line

Command:    start -> Run -> cmd    C:\>net user "username" /domain 
 
For Eg: C:\> net user billyg /doamin 
 
Results:    
The request will be processed at a domain controller for domain fakedomain.com
User name                    billyg 
Full Name                    Bill Gates 
Comment                      User's comment 
Country code                 (null) 
Account active               Yes 
Account expires              Never 
Password last set            12/1/2008 9:30 AM 
Password expires             Never 
Password changeable          9/25/2001 8:15 AM 
Password required            Yes 
User may change password     Yes 
Workstations allowed         All 
Logon script                 User profile Home directory 
Last logon                   1/4/2009 2:04 PM 
Logon hours allowed          All 
Local Group Memberships      *Administrators 
lobal Group memberships     *Domain Admins        *Domain Users 
 
The command completed successfully.

No comments:

Post a Comment