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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting Group Members to text files

Status
Not open for further replies.

djcrane

MIS
Nov 1, 2002
17
GB
Hi All

I need to export the members of some of our security and distribution groups into a text file/csv from AD.

Does anyone know of a way or a tool that will do this?

Thanks
D
 
From a command prompt on a server:
Code:
csvde -f users_groups.csv -s servername -d "cn=Users,dc=domainname,dc=com" -p subtree -r "(objectClass=group)" -l "member"
servername is the AD server to pull the information from, and it pulls all groups that are in the Users container.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top