Exchange – Get Dynamic Distribution Group Individual Members Email Addresses

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” […]

Exchange Get Dynamic Distribution Group Individual Members Email
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.
🛠️

Gear We Recommend

A few general tech accessories worth having alongside this.

Browse our General Tech Accessories picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.