Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange Server bulk export distribution lists and members

2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report