Get the App
SLTechnology News&Howtos  ›  Servers  › 

Exchange 2010 gets the members of a dynamic distribution group

Shulou Source: shulou.com Published: 2022-06-02 21:06:52 10月03日 Update

Recently migrated mailbox system, the new AD and the old AD organizational structure is different, involving the "dynamic distribution group" can not be applied.

Export dynamic distribution group members here, create distribution groups in the new environment, and then add members in bulk.

[PS] D:\ > $fte = Get-DynamicDistributionGroup xxxxxx [PS] D:\ > Get-Recipient-RecipientPreviewFilter $fte.RecipientFilter-OrganizationalUnit $fte.RecipientContainer | select Name,SamaccountName,PrimarySmtpAddress [PS] D:\ > Get-Recipient-RecipientPreviewFilter $fte.RecipientFilter-OrganizationalUnit $fte.RecipientContainer | select Name,SamaccountName,PrimarySmtpAddress | Export-Csv F:\ scripts\ dynamicdistributiongroup.csv-Encoding utf8

Reference from: https://technet.microsoft.com/zh-cn/library/bb232019(v=exchg.160).aspx

Tags: Communication dynamic distribution group member different architecture environment system group member organizational structure mailbox reference application Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Xiaomi Apple Microsoft Redmi