How to Export all Distribution Groups and Members (Exchange 2007 & Exchange 2010)

In some situations we need to Export all Distribution groups and all of the members of each group to a CSV file

 

I have written a script which will make Exchange Administrators life Easy

 

.Requires -version 2 – Runs in Exchange Management Shell

.\DistributionGroupMemberReport.ps1 – It Can Display all the Distribution Group and its members on a List

Or It can Export to a CSV file

 

Download the Script

 

Browse the Shell to the Appropriate Location

 

http://careexchange.in/wp-content/uploads/2012/10/image_thumb8.png

Run it as above

 

Output of CSV file look like Below

You can add some more entries if required

http://careexchange.in/wp-content/uploads/2012/10/image_thumb9.png

 

 

Download the Script

 

 

Regards

Satheshwaran Manoharan