Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting all user information in an csv file

Status
Not open for further replies.

angels1

IS-IT--Management
May 17, 2003
68
0
0
US
How can I export all of my user information from active directory to a single csv file
 
You can also use the csvde command. An example to output information for every user in the Users container is:
Code:
csvde -f out.csv -d "cn=Users,dc=domain,dc=com" -p subtree -r "(objectClass=user)"

Type csvde -? to get more options. There are also some MS KB articles on using it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top