Exchange Server 2013 Mailbox Move Request Administration using Powershell


Thought to share few useful powershell commands that will be helpful during the Exchange Server 2013 Mailbox Move Request Administration

New-MoveRequest

Move the user mailbox to Database DB01

New-MoveRequest -Identity ‘Raji.s@mail.com’ -TargetDatabase “DB01”

New-MoveRequest -Identity ‘Raji.s@mail.com’ -TargetDatabase “DB01” -BadItemLimit 100

 Move the bulk users mailbox to Database DB01

 Create CSV file having the email address of the users and name it as “EmailAddress.csv”

ForEach ($User in Get-Content “C:\temp\Raji\EmailAddress.csv”){ New-MoveRequest -Identity $user -TargetDatabase “DB01”}

 To suspend specific user Mailbox move request

 Suspend-MoveRequest -Identity ‘Raji.s@mail.com’

 To suspend all the move request

 Get-MoveRequest -MoveStatus InProgress | Suspend-MoveRequest

Resume Failed Requests

Get-MoveRequest -resultsize unlimited -MoveStatus Failed | Resume-MoveRequest

Get Failed Moves and resume move requests

Get-MoveRequest -resultsize unlimited -MoveStatus Failed | Resume-MoveRequest

Get Autosuspended Moves and resume move requests

Get-MoveRequest -resultsize unlimited -MoveStatus Autosuspended | Resume-MoveRequest

 Mailbox Move Request Reports – Get detailed info for moved mailbox

 Get-MoveRequest | Get-MoveRequestStatistics | Select DisplayName, Status, TotalItemSize, TotalMailboxItemCount, PercentComplete, BytesTransferred, ItemsTransferred

 Mailbox Move Request Reports – Calculating the Total Mailbox Size moved

  •  $total = Get-MoveRequest | Get-MoveRequestStatistics | Measure-Object TotalMailboxSize -Sum | select -expand sum
  • [Math]::Round($total /1gb,2)

 

Advertisements

About Raji Subramanian

Nothing great to say about me...Just want to share my knowledge for others that will be useful at any moment of time when they stuck in critical issue....
This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to Exchange Server 2013 Mailbox Move Request Administration using Powershell

  1. Mike says:

    Please make an adjustment to your entry please

    “-BadItemLimit ” parameter requires “-AcceptLargeDataLoss” parameter on the same line to work

  2. Mike says:

    I forgot to add that when you specify a number higher than 49, you need to also put “-AcceptLargeDataLoss”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s