Solved

Export members of a dynamic distribution list to a text file

Posted on 2010-09-24
4
2,755 Views
Last Modified: 2012-05-10
I would like to use the Exchange Management Console to export all members of a dynamic distribution list in our Exchange environment to a text file. I would like this file to simply include the recipient name and recipient type. Any help would be greatly appreciated, thanks!
0
Comment
Question by:robbie_woodley
  • 2
4 Comments
 
LVL 70

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 33754844

Nice and easy :)

In the Exchange Management Shell...

Get-DistributionGroupMember "TheGroup" | Select-Object Name, RecipientType | Export-Csv "somefile.csv"

HTH

Chris
0
 

Author Comment

by:robbie_woodley
ID: 33755336
Does this work for a Dynamic Distribution Group? I'm getting an error message that states that my DDG, AllFacStaff, can not be found on our domain controller. It is definitely there...but when I do a "Get-DistributionGroup" cmd it only pulls up static distribution groups, not dynamic. Thanks for your help!
0
 

Author Comment

by:robbie_woodley
ID: 33755581
Ha...thanks for the help but there is a "Preview" button in the EMC under the filter tab that allows you to view all members!
0
 

Expert Comment

by:skbarnard
ID: 37281631
What happens when you try to export to the desktop and you get "access denied"?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Find out what you should include to make the best professional email signature for your organization.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now