Test whether mailbox is suitable to move:
New-MoveRequest -Identity '[email protected]' -TargetDatabase DB01 -WhatIfNew-MoveRequest -Identity '[email protected]' -TargetDatabase DB01
(also moves any assosiaed archived mailbox)
You can view move request status with either:
Get-MoveRequestStatistics -Identity "[email protected]" | Format-ListYou can also view the report data (which is extremely useful when diagnosing migration problems!):
Get-MoveRequestStatistics -MoveRequestQueue <mailbox-server>
Get-MoveRequestStatistics -Identity "[email protected]" -includereport | Format-List
You can also resume any failed move request with:
Get-MoveRequest -MoveStatus Failed | Resume-MoveRequestAnd to delete a move request:
Remove-MoveRequest -Identity "[email protected]"You can also stop and suspend the migration request respectively:
Stop-MoveRequest -Identity "[email protected]"It is also worth noteing that when a mailbox is migrated from one database to another - it is not actually deleted immiediately and is rather put into a "soft-deleted" state and are not actually purged until the "deleted mailbox rentation" period lapses or the Remove-StoreMailbox command is issued. You can review all of the mailboxes in the "soft-deleted" state by issuing:
Suspend-MoneRequest -Identity "[email protected]"
Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "SoftDeleted" } | ft DisplayName,Database,DisconnectDate
For more information please see here.
0 comments:
Post a Comment