Exchange Server bulk export distribution lists and members
In Microsoft script Center, it provides a script for the export of distribution group members and distribution lists, which supports the export of dynamic distribution groups and static distribution groups, and can export all members or individual members. The address of the script is as follows:
Https://gallery.technet.microsoft.com/Export-all-distribution-707c27eb
The way to use is very simple, copy the script to the server, open Eexchange's PowerShell management tool, and execute it directly. After execution, you will first enter a menu of switch, and you can choose the corresponding project according to your own needs, which are basically wizard-like.
The following figure takes exporting a single communication group to the current screen as an example
It is particularly important to note that when you choose to export to CSV, you will encounter the problem of garbled Chinese character set. In this case, you need to modify all the fields in the code that involve CSV export, and specify the Chinese encoding format as default, as shown below:
Write-Progress-activity "Scanning Groups."-status "Scanned: $I of $($allDg.Count)"-percentComplete (($I / $allDg.Count) * 100) $output | Export-csv-Path $CSVfile-NoTypeInformation-Encoding Default
Welcome to follow the official Wechat account below for more information.