

The script works for Exchange on-premises, Exchange Hybrid, and Exchange Online. Run export distribution groups PowerShell script

If you don’t have a scripts folder, create one.

Prepare export distribution groups PowerShell scriptĭownload and place Export-DistributionGroups.ps1 PowerShell script in the C:\scripts folder. The script will gather the following information per distribution group: The Export-DistributionGroups.ps1 PowerShell script works for: Get distribution group members with PowerShell script Security group (mail-enabled security groups).The Export-DistributionGroups.ps1 PowerShell script will run against every distribution group. You want to see which users are members of the distribution groups, also known as distribution lists. When an email message is sent to a distribution group, it goes to all group members. Result distribution group export CSV fileĪ distribution group, or distribution list, is a collection of two or more people that appears in your organization’s address book.Run export distribution groups PowerShell script.Prepare export distribution groups PowerShell script.Get distribution group members with PowerShell script.
