Solved

Export members of a dynamic distribution list to a text file

Posted on 2010-09-24
4
3,032 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

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to dynamically set the form action using jQuery.
This video discusses moving either the default database or any database to a new volume.

688 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