Exchange – Get Dynamic Distribution Group Individual Members Email Addresses

5d05eb33135798a962e3199db1fa4a4c

Last updated on April 1st, 2023 at 08:40 pm

Read Time:42 Second

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.

Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 441 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.