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 2010 batch move mailboxes and increase the number of concurrent mobile requests

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Recently, the company is preparing to upgrade the Exchange service and prepare for the work of migrating the mailboxes of outgoing users to the specified database. The outgoing database does not migrate when upgrading the migration database. This reduces the amount of data migrated in the future.

Increase the number of concurrent mobile requests:

Https://technet.microsoft.com/zh-cn/library/dn146028.aspx

Main work:

Export disabled ad users

You can also export a list of users who have not logged in for 30 days from Exchange Powershell and compare it with the disabled ad table

Sort out a txt file with a user name and use new-moveRequest to migrate in batches

Modify the config file before batch migration to increase the number of concurrency

First, export disabled mail users

Export from ad

Get-ADUser-Filter {Enabled-eq "False"} | select UserPrincipalName | Export-Csv Disable.csv-encoding utf8

Or derived from Exchange, the amount of data can be calculated according to TotalItemSize.

Get-Mailbox-ResultSize Unlimited | Get-Mailboxstatistics | where-object {$_ .LastLogonTime-lt (get-date) .AddDays (- 30)} | select DisplayName,TotalItemSize,LastLogonTime | Export-Csv d:\ Disablemailinfo.csv-Encoding utf8

Second, increase the number of concurrency

Under bin in the Exchange installation directory, find the file shown in the figure, open it and increase the value 2, and restart the Exchange service (up to 100).

Default path: X:\ Microsoft\ Exchange Server\ V14\ Bin

Configuration file: MSExchangeMailboxReplication.exe.config

MaxActiveMovesPerTargetMDB

III. Batch migration command

The disable.txt table contains only one column of user name

Get-Content disable.txt | Get-mailbox | new-moveRequest-TargetDatabase database name

Import icon:

Request icon:

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