Solved

Export members of a dynamic distribution list to a text file

Posted on 2010-09-24
4
2,949 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 71

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In-place Upgrading Dirsync to Azure AD Connect
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

733 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