exporting Distribution group members from AD

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
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.
I want to avoid any installation on my server.
Take a look at dsget user /? for more options of what info you can get.
Its done.
dsquery group -name "groupname" | dsget group -members > C:\filename.csv