Home
Certification Preparation
Microsoft
MCSA / MCSE on Windows 2003 General
exporting Distribution group members from AD
cahmadh
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
Find more posts tagged with
Comments
kalebksp
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
I am trying to get this using the LDIFDE command but its no working.
I want to avoid any installation on my server.
undomiel
dsquery group -name "x" | dsget group -members > C:\groupmembers.txt
cahmadh
Thank you undomiel, could you please let me know how i can get the email address of the members of that particular OU.
undomiel
dsquery 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.
cahmadh
undomeil, dear you are diamond
Its done.
Sathishkumar.v87
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
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of