need to export mailbox from user to another user exchange 2010

Both users exist under the same exchange instance but different domain.

example

mary.jane@olddomais.com need to move her mail box to her new account mary.jane@newdomain.com inside a subfolder called legacy email
LVL 2
Jorge OcampoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rajitha ChimmaniCommented:
Assuming that both mailboxes are within same Exchange organization you can try the below command in powershell

Search-Mailbox mary.jane@olddomais.com -TargetMailbox mary.jane@newdomain.com -TargetFolder "Legacy Email"

This target folder is created under a "Recovery" folder created by Exchange to perform this export.
0
Jorge OcampoAuthor Commented:
is this moving the data over or just a linker instead?
0
Jorge OcampoAuthor Commented:
the end result the old account will be deleted
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Rajitha ChimmaniCommented:
Its just copying the data. Post export, the items will be there in both mailboxes. If you want the emails to be deleted from source mailbox use -DeleteContent at the end of this command
0
Jorge OcampoAuthor Commented:
oh great how would i move the dn legacy to the new account
0
Jorge OcampoAuthor Commented:
also any limitation that you are aware? do you prefer search or export pst?
0
Rajitha ChimmaniCommented:
Follow the below steps to get the legacyExchange DN and add it to new account

1. Get-Mailbox mary.jane@olddomais.com | Select LegacyExchangeDN.
2. Copy the value from above command and open the new mailbox properties in Exchange Management Console. Goto Email Addresses tab and Click on Add->Custom Address (you need to click on small downward triangle beside Add)
3. Paste the legacy DN copied value from above step and paste in Email Address and give the email type as X500
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rajitha ChimmaniCommented:
I prefer Search as its single step but it depends on your convenience. Both do the same.
0
Jorge OcampoAuthor Commented:
Hi Quick Question so thats everything i should right?
0
Rajitha ChimmaniCommented:
Yes..you might want to check for custom attributes, if any. And definitely the permissions.
0
Jorge OcampoAuthor Commented:
what do you mean for permissions? also one last question would the target folder have to exist or wold be create automatically otherwise i would have to go with import
0
Rajitha ChimmaniCommented:
By permissions I meant if any user had permissions on the mailbox. The folder structure will remain the same as source. But a new folder will be created as "Recovered - ..." Under that folder there will be Legacy Mail and under that all Inbox,sent items etc..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.