Thursday, November 5, 2015

Moving Mailboxes in Bulk on Exchange Server 2010

Moving mailboxes in Exchange 2010 is easier task until you’re moving only one or few mailboxes. But if you’ve to move mailboxes in bulk, I’m sure the mailbox moving process could be long and bit hard for lots of administrators. 

Last week, I was also searching the quickest solution for the same concern and got something very interesting to make the mailbox moving job easier and quick. 

So, based on the result and process, I’m just sharing with you the quick steps to move mailboxes on Exchange Server. However, I will also suggest you a perfect tool for moving mailboxes in bulk on Exchange 2010 but it is worth to give PowerShell a try before move to Exchange mailbox moving software. Let’s check it out-

Before executing the commands, first create an excel file to save mailbox users names with their display names and their targeted Exchange server database for your convenient.

Now open a notepad.exe and do some updation on scripts as showing below-

Type “user,databasewithout quotation. 

Then, go to second line and type user name and desired database (store) with comma.
E.g., it will look something like-

Now just save the notepad file as .CSV on the following directory-


Now you’re almost done, just again open Notepad and copy the below scripts into it-

$Userstodatabase = import-csv C:\MailboxMove\MM.csv
foreach ($Record in $Userstodatabase)
$users = $record.user
$database = $record.database
New-MoveRequest –identity $users –TargetDatabase “$Database”

Now just save this file as PS1 and execute this file using EMS (Exchange Management Shell). That’s it!
This will move your all mailboxes shortly depend on the mailbox size. However, you can also check the status of the process by running a script.

Copy and save the below script as PS1 and run it using Exchange Management Shell.

$Userstodatabase = import-csv C:\MailboxMove\MM.csv
foreach ($Record in $Userstodatabase)
$users = $record.user
Get-MoveRequest –identity $users

By running the above file, it will show you the current progress of user’s mailbox in a .CSV file. However, it worked for me in few attempts. But I’m not sure if it works for every case, as I got it from an anther online resource.

So, it is advisable to try the above tips but always keep an Exchange mailbox extraction tool in case of any urgency or if nothing works for you. I’m suggesting you here software for moving mailboxes in Exchange Server 2010 as well as 2013, which can be downloaded by visiting the URL:
Just export the mailboxes from .edb file to PST or directly import EDB data on a live Exchange mailbox. 

Hope, this article helps you in moving bulk Exchange mailboxes for sure. 

For any query related to Exchange mailbox migration or recovery, post your comment below!

Thanks & All the Best!!

No comments:

Post a Comment