Solved

Export members of a dynamic distribution list to a text file

Posted on 2010-09-24
4
2,648 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

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 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

12 Experts available now in Live!

Get 1:1 Help Now