четверг, 18 октября 2012 г.

Скрипт перемещения ящиков из одной базы в другую / Script for moving all mailboxes from one Database to another - Exchange 2010 SP2

Скрипт для перемещения всех ящиков из одной базы в другую:

#This script moves all the mailboxes from one database to another.
 $Sourcedb = "IT"
 $Targetdb = "IT2"
 Get-Mailbox -Database $Sourcedb | New-MoveRequest -TargetDatabase $Targetdb -BadItemLimit 200 -AcceptLargeDataLoss
 Write-Host "All the mailboxes from" $Sourcedb "have been moved successfully to" $Targetdb
 #End of the script

Индивидуальное перемещение ящика:
New-MoveRequest -Mailbox Andreev.Nikolay -TargetDatabase 'IT2' -BadItemLimit '100' -AcceptLargeDataLoss

http://mylittlebrain-techie.blogspot.com/2011/06/exchange-2007-move-mailboxes-from-one.html
http://jasonshave.blogspot.com/2012/02/top-10-exchange-server-2010-powershell.html
http://exchangegloves.blogspot.com/2012/05/new-mailboxexportrequest-is-not.html

Комментариев нет:

Отправить комментарий