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

Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

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