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"
No comments:
Post a Comment