Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Move mailboxes between databases in exchange ====== <code powershell| Create new database> New-MailboxDatabase -Name "db02" -EdbFilePath "D:\Databases\db02\db02.edb" -LogFolderPath "E:\Logs\db02" -Server "exchange01.example.com" </code> <code powershell| 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" } </code> <code powershell> New-MoveRequest mailboxname -TargetDatabase db02 get-moverequest | get-moverequeststatistics Get-MoveRequest | where {$_.status -eq “Completed”} | Remove-MoveRequest </code> windows/servers/exchange/mailbox_move.txt Last modified: 2019/10/31 09:14by 127.0.0.1