windows:servers:exchange:mailbox_move

Move mailboxes between databases in exchange

Create new database
New-MailboxDatabase -Name "db02" -EdbFilePath "D:\Databases\db02\db02.edb" -LogFolderPath "E:\Logs\db02" -Server "exchange01.example.com"
List all mailboxes in database
Get-Mailbox 
Get-Mailbox -Database db01 -Arbitration | get-mailboxstatistics | select displayname, totalitemsize, database
Get-Mailbox -Database db01 –Archive | get-mailboxstatistics | select displayname, totalitemsize, database
Get-Mailbox -Filter { WindowsEmailAddress -like "*@example.com" }
New-MoveRequest mailboxname -TargetDatabase db02
get-moverequest | get-moverequeststatistics
Get-MoveRequest | where {$_.status -eq “Completed”} | Remove-MoveRequest
  • windows/servers/exchange/mailbox_move.txt
  • Last modified: 2019/10/31 09:14
  • by 127.0.0.1