Tuesday, July 31, 2012

Use CSVDE to export user accounts from Active Directory

Export all user accounts in the domain

csvde -f c:\allusers.csv -r "(objectclass=person)"

Export only from on OU

csvde -f c:\allusers.csv -r "(objectclass=person)" –d “OU DN”

No comments: