Export User AD:
To export all users and computers into a file called adusers.csv and then to read this export data in Excel.
Type this command: CSVDE -f adusers.csv
Command: CSVDE -f c:\hp\adusers.csvadusers.csv -r objectClass=user
Command: CSVDE -f c:\hp\adusers.csv -r objectCategory=person +++++
Command: CSVDE -f c:\hp\onlyusers.csv -r "(&(objectClass=user)(objectCategory=person))"
Command: dsquery user -disabled "Export disableuser on active directory "
To discover more LDAP attributes, go to the command prompt, type:
CSVDE -f Exportfile.csv
type RESMON find bottleneck
Group Policy (5. Right-click the Organizational Unit (OU) or domain where you want to create the policy, )
Another option would be check following script which comes with GPMC. (by default C:\Program Files\GPMC\Scripts)
GetReportsForAllGPOs.wsf : Generates XML reports for ALL GPOs in given domain
GetReportsForGPO.wsf : Generates XML and HTML reports for a given GPO
C:\Users\LAX>gpresult /H GPReport.html
C:\Users\LAX>gpresult /v > gp.txt
C:\Users\LAX>gpresult /s COMPUTERNAME /user TargetUserName /v > gp.txt
