Viewing Exchange Distribution List With Hidden Membership

I have a few distribution lists with hidden membership.  I would like to query the members of the list but do not know how accomplish my task.  The normal "Users and Computers" hides the membership and I do not know what other utilities/scripts may work.  I do not deal with Exchange much and therefore do not know what resources and configuration settings are available.

Any help is much appreciated.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try using CSVDE from a command prompt to export the group membership. It would be something like the following:

csvde -f C:\MemberExport.csv -r "memberOf=CN=YOURLIST,CN=users,DC=YourDomain,DC=com" -l samAccountName,displayName

This will create a file named memberexport.csv for the distribution list named 'yourlist', and will show their login & display name in the output file. Main thing is to use the full distinguished name of the distribution list after the "memberOf=" part.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MegaSprintAuthor Commented:

Thanks for your suggestion.  I have not had a change to test the command you suggested, but I am familiar with it.  I will just iterate through the users and generate a membership list from the users instead of the group.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.