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 2016 adds X500 addresses in batches to solve the problem of bouncing messages after migration

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Recently, the company migrated Exchange2010 to Exchange2016 across domains. Because the mailbox data is imported and exported by pst, undelivered returns are received when replying to previous messages.

Although you can re-enter the address to solve the problem, it is very inconvenient for students to use it. After inquiry, the problem can be solved by adding the X500 address of the original mailbox system to the new mailbox system.

Mailboxes, distribution groups, conference rooms, etc., can all use the following methods

First, the original mailbox X500 address view, and batch export

X500 address export of the original mailbox system

Get-Mailbox-ResultSize unlimited | Select-Object PrimarySmtpAddress,LegacyExchangeDN | Export-Csv-Encoding utf8-Path D:\ scripts\ x500.csv

X500.csv file (modified)

Upn,x500zhaodongwei@demo.com,X500:/o=DEMO/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) / cn=Recipients/cn=user9e3fb5871111@demo.com,X500:/o=DEMO/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) / cn=Recipients/cn=???2222@demo.com,X500:/o=DEMO/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) / cn=Recipients/cn=??

Second, the new mailbox X500 address batch import

Import-Csv D:\ scripts\ x500.csv | foreach {Set-Mailbox-Identity $_ .upn-EmailAddresses @ {Add= $_ .x500}}

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