Monthly Archives: April 2013

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”

Blogroll

  • Stephen Smith's Blog
    Upgrading to Raspber...: Introduction I just finished the second editions of two of my books: Raspberry Pi Assembly Language...
    Playing with Ubuntu...: Introduction Ubuntu released 25.10 back on October 9. Now that I’ve sent my two books off to produ...
    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...