Exchange Server TechCenter >
Exchange Server Forums
>
Migration [Exchange Server]
>
Scripts for migrate a bulk of mailboxes from exchange 2003 server to another exchange 2003 server
Scripts for migrate a bulk of mailboxes from exchange 2003 server to another exchange 2003 server
- Hi All,
I need to migrate a few thousand mailboxes from exchange 2003 server to another exchange 2003 server.
Anyone has any useful scripts to perform this migration?
Appreciated your help.
Thanks
Answers
- Try the script http://www.eggheadcafe.com/software/aspnet/30230442/powershell-script-to-move.aspx
Raj- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM
- Here is an example oneliner cmdlet example to move mailboxes...Create a CSV file (MoveMailboxes.csv) with below content:Username, TargetDatabaseuser1, e2k3server/e2k3SG/e2k3targetDBnameuser2, e2k3server/e2k3SG/e2k3targetDBnameImport-CSV MoveMailboxes.csv | foreach {Move-Mailbox -Identity $_.Username -TargetDatabase $_.TargetDatabase -BadItemLimit 100}Reference:How to Move a Mailbox Within a Single Forest
Amit Tank
MVP: Exchange Server | MCTS: Microsoft Exchange Server 2010, Configuration
MCITP: EMA | MCSA: M | Blog: http://ExchangeShare.WordPress.com- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM
- Hi,
Instead of using a script you can just select the desired mailboxes in the exchange management console and choose to move these.
Leif- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM
- Agree with Leif, and if you just have exchange 2003 servers installed, maybe you can only use Exchange Manage Console to move mailboxes to another exchange 2003 server.
But you can move 4 mailboxes in each instance, and you can run multiple instances at the same time depending on your server hardware and load.
More important thing, you can arrange the time to move the mailbox at a certain time of the day.
More details, please have a look at KB 822892
Move Mailbox improvements in Exchange 2003
http://support.microsoft.com/kb/822892/en-us
Frank Wang- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM
All Replies
- Try the script http://www.eggheadcafe.com/software/aspnet/30230442/powershell-script-to-move.aspx
Raj- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM
- If your Exchange environment running in coexistence with Exchange 2007 then you can run Move-Mailbox cmdlet to move mailbox from 2003 to another 2003 server and Powershell onliner helps you to do it...This can be used to move from 2003 to 2003... Let us know if you have specific requirement...
Amit Tank
MVP: Exchange Server | MCTS: Microsoft Exchange Server 2010, Configuration
MCITP: EMA | MCSA: M | Blog: http://ExchangeShare.WordPress.com - Here is an example oneliner cmdlet example to move mailboxes...Create a CSV file (MoveMailboxes.csv) with below content:Username, TargetDatabaseuser1, e2k3server/e2k3SG/e2k3targetDBnameuser2, e2k3server/e2k3SG/e2k3targetDBnameImport-CSV MoveMailboxes.csv | foreach {Move-Mailbox -Identity $_.Username -TargetDatabase $_.TargetDatabase -BadItemLimit 100}Reference:How to Move a Mailbox Within a Single Forest
Amit Tank
MVP: Exchange Server | MCTS: Microsoft Exchange Server 2010, Configuration
MCITP: EMA | MCSA: M | Blog: http://ExchangeShare.WordPress.com- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM
- Hi,
Instead of using a script you can just select the desired mailboxes in the exchange management console and choose to move these.
Leif- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM
- Agree with Leif, and if you just have exchange 2003 servers installed, maybe you can only use Exchange Manage Console to move mailboxes to another exchange 2003 server.
But you can move 4 mailboxes in each instance, and you can run multiple instances at the same time depending on your server hardware and load.
More important thing, you can arrange the time to move the mailbox at a certain time of the day.
More details, please have a look at KB 822892
Move Mailbox improvements in Exchange 2003
http://support.microsoft.com/kb/822892/en-us
Frank Wang- Proposed As Answer byFrank.WangMSFT, ModeratorWednesday, November 04, 2009 9:59 AM
- Marked As Answer byFrank.WangMSFT, ModeratorThursday, November 05, 2009 2:33 AM


