Network, security, system, solutions

Moving Mailboxes in Exchange 2010

How to Moving Mailboxes in Exchange 2010?

Get-MoveRequest
Get-MoveRequest -Identity ‘cuteo’
Get-User -Filter {Department -like ‘Marketing’} | Get-MoveRequest
Get-MoveRequest -MoveStatus InProgress -TargetDatabase <database name>
Get-MoveRequest -MoveStatus Completed

How about moving multiple mailboxes? That can be achieved via a variety of methods some of which I will outline here.

First, it is very easy to move all mailboxes on a database to another database simply by piping the Get-MailboxDatabase cmdlet into the New-MoveRequest cmdlet. An example of such an action is as follows:

Get-Mailbox –Database ‘Mailbox Database 001’ | New-MoveRequest –TargetDatabase `

  ‘Mailbox Database 002’

or

$migrationCsv = ‘C:\cta.csv’
import-csv $migrationCsv | foreach {get-mailbox $_.alias | new-moverequest -targetdatabase cta -MRSServer <casserver> -BadItemLimit 100 -AcceptLargeDataLoss}

Leave a Reply

Your email address will not be published. Required fields are marked *