Re: Export Member from a Security Group
- From: apervaz <apervaz.34zfa8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Feb 2008 05:28:55 -0600
Excellent, i tried adfind to export the members of a security group, to
a excel CSV or .txt file. i also figured out the syntax to export the
names and document name of the security groups within the organizational
unit.
heres the syntax:
to get the groups names with the domain
adfind -b ("OU=group123,OU=unit123,DC=domain123,DC=local" ) -csv >
group.csv
*the CSV file will be located where adfind.exe had been placed
To get the user's names and full names in to csv file:
adfind -b "cn=groupName,OU=unit123,DC=Domain123,DC=local " -asq member
displayname sAMAccountName -csv > file123.csv
hope this helps.
Asif
--
apervaz
.
- Prev by Date: Re: Adding users to sub OU using Script
- Next by Date: Trying to create mandatory profiles....
- Previous by thread: Adding users to sub OU using Script
- Next by thread: Trying to create mandatory profiles....
- Index(es):
Relevant Pages
|