Find all remaining legacy users and move them

By admin on May 19th, 2011

As you might have read I do a lot of mailbox moves right now and today I needed to find all remaining users in Exchange 2007 and create my last batch of moverequest.

To find all users in Exchange 2007 that had no moverequest associated to them and create a new moverequest I used:

Get-Mailbox -ResultSize Unlimited | where {$_.MailboxMoveStatus -eq "None" -And $_.Database -like "Exchange2007server*"} | New-MoveRequest –BatchName LastBatch -BadItemLimit 5 –SuspendWhenReadyToComplete

As you can see I create suspended moverequests that will be resumed later on but that is of course optional.

Happy moving!

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine

Leave a reply

You must be logged in to post a comment.