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”

Leave a Reply

Blogroll
  • Stephen Smith's Blog
    Back to Blogging: Introduction I haven’t posted a blog post since April, mainly because I’ve been working on the s...
    Untangling the Reach...: Introduction Trump continues to threaten Canada with a takeover, so people continue to boycott US co...
    Boycotting US Compan...: Introduction With the ongoing US tariff battle against Canada and the rest of the world, people are...
    Is Trump Really an E...: Introduction Trump has received a lot of negative press for disbanding the US Environmental Protecti...
    Facebook Pirated my...: Introduction The Atlantic has an interesting story on all the books Meta/Facebook pirated to train t...