$group = Get-DynamicDistributionGroup –identity “yourDL” Get-Recipient –RecipientPreviewFilter $group.RecipientFilter | select name,primarysmtpaddress | Export-CSV C:yourdl.csvWhere:
- “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
Gear We Recommend
A few general tech accessories worth having alongside this.
Browse our General Tech Accessories picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.