Exchange邮箱数据迁移实用Powershell命令集合

 邮箱数据迁移命令集合: 

==>Move commands in all:
$Mailboxes = Get-Content ./20111216TEST.txt
ForEach($SingleMailbox in $MailboxesToMove) {New-MoveRequest –Identity $SingleMailbox –TargetDatabase ‘xx-db23-002’ –BatchName 20111216TEST}

==>Check status
Get-MoveRequest–BatchName 20111216TEST

 

如果发现有队列堵塞现场,可以使用如下命令来撤销迁移指令:
Remove request from queue:
Remove-MoveRequest -Identity "xxxUser"

你可能感兴趣的:(Exchange,powershell)