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