Useful Exchange 2010 / 2013 Powershell commands

Test readiness of mailbox to be moved:
New-MoveRequest -Identity ‘user@domain’ -TargetDatabase “Mailbox Database” -WhatIf
Remove the -WhatIf to move the mailbox
Move all mailboxes:
Get-Mailbox -Database “Old Mailbox Database” | New-MoveRequest -TargetDatabase “New Mailbox Database”

Remove all move requests:
get-moverequest | remove-moverequest -confirm:$false

List open move requests:
Get-MoveRequest -TargetDatabase “Mailbox Database”
Get-MoveRequest –identity ‘user@domain’

Get statistics on move request in detail:
get-moverequest | get-moverequeststatistics | fl
 
Get statistics on move request in summary:
get-moverequest | get-moverequeststatistics

Get statistics for database:
Get-MailboxStatistics -database “Mailbox database”

HashFlare
Blogroll
  • Stephen Smith's Blog
    The Race for 64-Bit...: Introduction When the Raspberry Pi 4 was announced and shipped this past June, it caught everyone by...
    Risc-V Assembly Lang...: Introduction Last time, we started talking about the Risc-V CPU. We looked at some background and no...
    Introducing Risc-V: Introduction Risc-V (pronounced Risc Five) is an open source hardware Instruction Set Architecture (...
    Raspberry Pi 4 as a...: Introduction The Raspberry Pi Foundation is promoting the Raspberry Pi 4 as a full desktop computer...
    Playing the Kaggle T...:   Introduction A couple of years ago, I entered a Kaggle data science competition sponsored by...

Member of The Internet Defense League