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
    Open Source Photogra...: Introduction Since retiring, I’ve switched to entirely running open source software. For photograp...
    The Technology of ...: Introduction In my novel “Influence”, the lead character J@ck Tr@de performs various hacking tas...
    The Technology of ...: Introduction In my novel “Influence”, the lead character J@ck Tr@de performs various hacking tas...
    The Technology of ...: Introduction In my novel “Influence”, the lead character J@ck Tr@de performs various hacking tas...
    The Technology of ...: Introduction In my novel “Influence”, the lead character J@ck Tr@de performs various hacking tas...

Member of The Internet Defense League