Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- net user` /domain [username]
- Microsoft Windows [Version 6.1.7601]
- Copyright (c) 2009 Microsoft Corporation. All rights reserved.
- C:Windowssystem32>net user /domain joneswac
- The request will be processed at a domain controller for domain MY.SCHOOL.EDU.
- User name joneswac
- Full Name Wesley P Jones
- Comment
- User's comment
- Country code 000 (System Default)
- Account active Yes
- Account expires Never
- Password last set 5/6/2013 3:51:33 PM
- Password expires Never
- Password changeable 5/6/2013 3:51:33 PM
- Password required Yes
- User may change password Yes
- Workstations allowed All
- Logon script
- User profile
- Home directory \WONDERFULSCHOOLstudentsjoneswac
- Last logon 6/1/2013 3:31:50 PM
- Logon hours allowed All
- Local Group Memberships
- Global Group memberships *SOCIAL AND BEHAVIORAL*IT Boot Camp Admin
- *Students *Registered for Classe
- *Domain Users *90B SOC SCI TCH PLAN
- The command completed successfully.
- C:Windowssystem32>
- DSQUERY USER -name %Username% | DSGET USER -memberof -expand | DSGET GROUP -sid -samid | more
- DSQUERY USER -name <user name> | DSGET USER -memberof -expand | DSGET GROUP -sid -samid | more
- DSQUERY GROUP -name "Nected Group Set of resources 1" | DSGET GROUP -memberof -expand | DSGET GROUP -sid -samid
- DSQUERY GROUP -name "Nected Group Set of resources 1" | DSGET GROUP -members -expand | DSGET GROUP -sid -samid
- GPRESULT /USER %username%
- dsquery * -filter "(samAccountName=%username%)" -attr *
- ([ADSISearcher]"(&(ObjectCategory=User)(cn=Luzik, Maksim))").FindOne().properties
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement