Get-Mailbox -Database "Mailbox Database 0463961086" | New-MoveRequest -TargetDatabase "MDB1" Get-Mailbox -Archive -Database 'Mailbox Database 0463961086' | New-MoveRequest -TargetDatabase "MDB1" Get-Mailbox -PublicFolder -Database 'Mailbox Database 0463961086' | New-MoveRequest -TargetDatabase "MDB1" Get-Mailbox -Arbitration -Database 'Mailbox Database 0463961086' | New-MoveRequest -TargetDatabase "MDB1" Get-Mailbox | where {$_.ArchiveDatabase -eq "Mailbox Database 0463961086"} Name Alias ServerName ProhibitSendQuota ---- ----- ---------- ----------------- Firstname Lastname0001... user0001 mail 8 GB (8,589,934,592 bytes) ... new-moveRequest user0001 -ArchiveOnly Get-MailboxExportRequest | ?{ $_.RequestQueue -eq "Mailbox Database 0463961086" } Name Mailbox Status ---- ------- ------ MailboxExport ***.***/User999 Failed Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest Get-MailboxExportRequest -Status failed | Remove-MailboxExportRequest Remove-Database "Mailbox Database 0463961086"
Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest