exporting Distribution group members from AD
cahmadh
Member Posts: 15 ■□□□□□□□□□
How we can export the distribution group members in word or excel format from the active directory in windows 2003 server environment?
I have a distribution group name x and it is in "users" OU. The company domain name is mycompany.com.au
i try to google it and applied some solutions but none of those worked?
Any idea?
BR, Ahmad
I have a distribution group name x and it is in "users" OU. The company domain name is mycompany.com.au
i try to google it and applied some solutions but none of those worked?
Any idea?
BR, Ahmad
Comments
-
kalebksp Member Posts: 1,033 ■■■■■□□□□□I'd use PowerShell with the Quest Cmdlets. The command would be something line this:
get-qadgroup groupname | get-qadgroupmember | export-csv C:\path\file.csv
You could also omit the export-csv and just pipe it into a text file. -
cahmadh Member Posts: 15 ■□□□□□□□□□I am trying to get this using the LDIFDE command but its no working.
I want to avoid any installation on my server.
-
undomiel Member Posts: 2,818dsquery group -name "x" | dsget group -members > C:\groupmembers.txtJumping on the IT blogging band wagon -- http://www.jefferyland.com/
-
cahmadh Member Posts: 15 ■□□□□□□□□□Thank you undomiel, could you please let me know how i can get the email address of the members of that particular OU.
-
undomiel Member Posts: 2,818dsquery group -name "x" | dsget group -members | dsget user -email > C:\groupmembersemail.txt
Take a look at dsget user /? for more options of what info you can get.Jumping on the IT blogging band wagon -- http://www.jefferyland.com/ -
Sathishkumar.v87 Registered Users Posts: 1 ■□□□□□□□□□export the active ad group members in windows 2003 server, I have a cmd to export the group member user, But dont have idea about applying filters here is the one i use to export group member without filter
dsquery group -name "groupname" | dsget group -members > C:\filename.csv