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”

  • Stephen Smith's Blog
    RISC Instruction Enc...: Introduction Modern microprocessors execute programs from memory that are formatted specifically for...
    Raspberry Pi Assembl...:   Introduction My new book “Raspberry Pi Assembly Language Programming” has just been publi...
    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 (...

Member of The Internet Defense League