Exchange – Get Dynamic Distribution Group Individual Members Email Addresses

5d05eb33135798a962e3199db1fa4a4c

If you are using Exchange in our organisation and have dynamic distribution groups, you may want to get all the information about the individual users within these distribution groups and also list their email addresses.

To do this, open up an Exchange Management Shell console and run the following script:

$group = Get-DynamicDistributionGroup –identity “yourDL”
Get-Recipient –RecipientPreviewFilter $group.RecipientFilter | select name,primarysmtpaddress | Export-CSV C:yourdl.csv

Where:

  • “yourDL” = The name of the dynamic distribution group that you want to get the information for
  • C:yourdl.csv = the location where you want to export the CSV file to

This will now export to CSV the name and primary SMTP address of each member of this distribution group.

COMMENTS

If you have any questions or feedback on this guide, please feel free to leave us a comment below using our comments system.

Free Subscription!Subscribe to our site to receive updates via email!

Enter your email address below and click the Subscribe button to receive email notifications about new and exciting downloads available through our website at https://www.techygeekshome.com

You will also receive notifications about new technical guides, latest news and MSI installer downloads that are available through our blog here at https://blog.techygeekshome.info 

We will not spam you and we will not pass on any of your details to anyone else. We tend to post new content once or twice a week.

Join 232 other subscribers

You can unsubscribe any time you like.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 20 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong