Script to copy/move/export/import a single/goup user(s) between 2 different domains and exchange 2010 to 2013
Who can supply an easy script to copy a specific mailbox from an existing exchange server 2010 to new exchange server 2013 in a different (new) forest/domain? Case Description:
Copy (or move) mailbox of user thomas from Exchange 2010 server thomas@myOLDdomain.com to Exchange 2013 server thomas@myNEWdomain.com (note: after migration
the new server will also accept the old domain thomas@myOLDdomain.com)
Thx
March 14th, 2013 1:14am
Hi
No, Because Exchange 2013 can't be installed in the same Active Directory forest as Exchange 2007 or Exchange 2010.
See the Release Notes for Exchange 2013
http://technet.microsoft.com/en-us/library/jj150489(v=exchg.150).aspx
So what you can do is Export mailbox from Exchange 2010 to PST and then import to Exchange 2013.
That could not archive in one easy script
Cheers
If you have any feedback on our support, please click
here
Zi Feng
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
March 14th, 2013 11:57am
Not at the moment no, but here is some more information. Exchange 2010 SP3 and Exchange 2013 CU1 is required for coexistence, 2010 SP3 is already released but not 2013 CU1.
As soon as 2013 CU1 is released it will be possible to install Exchange 2013 CU1 in the same forest as 2010.
Exchange 2010 SP3 and Exchange 2013 CU1 is also required for cross-forest moves between 2010 and 2013. However, if you upgrade Exchange 2010 to SP3 you can perform all steps
of a cross forest migration up until the actual move.
I would not say that the export/import scenario is especially hard to achieve if you cannot wait. If you follow the cross forest migration steps combined with ADMT (Active Directory
Migration Tool) most of the work is done and you can create a script to do the export/import.
For Coexistence you do not need to use different domains, you can use the same domain in the target environment and have Exchange forward the messages it cannot find a recipient
for to the other environment. You would have to configure the accepted domains as internal relay and a send connector in each environment pointing to the other for the domain you want to have coexistence for. The mail flow is controlled using forwarding (targetaddress
attribute) for each user. If the targetaddress attribute is set on a user Exchange will send it on using the send connector handling the domain in the email address set in the targetaddress attribute. This way you can have a new mailbox already created in
the target environment and when you switch a user you remove the users primary email address in the targetaddress attribute, set it on the source user instead and all messages will land in the new target mailbox. When all users has been switched you can redirect
incoming mail to the new environment. Part of this is already configured when you run the Prepare-MoveRequest.ps1.
For import/export you would need a csv to match the old user names with the new ones, then export all mailboxes using a foreach loop and name them <username>.pst for easy
matching, then import the mailboxes in the target environment with a similar script using the csv match list to translate the old username in the file name to the new username in the target Environment.
But please do note, that even if it works fine, I am not at all sure that it would be supported...
More information:
http://technet.microsoft.com/en-us/library/bb123546(v=exchg.141).aspx
http://technet.microsoft.com/en-us/library/ee633491(v=exchg.150).aspx
http://www.thegenerationv.com/2010/03/cross-forest-migration-with-exchange_23.htmlMartin Sundstrm | Microsoft Certified Trainer | MCITP: Enterprise Messaging Administrator 2007/2010 |
http://msundis.wordpress.com
March 14th, 2013 6:05pm