• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 664
  • Last Modified:

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.

1 Solution
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.
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now