Search, list and export all distribution groups email addresses in Exchange


In Exchange Management Shell:
Get-DistributionGroup | select DisplayName -ExpandProperty EmailAddresses | select DisplayName, SmtpAddress | export-csv C:\dg_email_address.csv

Leave a Reply

Your email address will not be published.

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