Search This Blog

Monday, 10 February 2014

How to Export a Distribution Group to a CSV File in Exchange 2013

I wanted to export all the Distribution Groups in Exchange 2013 that were set to allow external users to send email to them.  The cmdlet below will do this and export to a CSV file.

get-distributiongroup | Sort -Property RequireSenderAuthenticatioNEnabled | Select Name, Requir
eSenderAuthenticationEnabled, PrimarySMTPAddress | Export-CSV "C:\IT Support\Dist.csv"