need to export mailbox from user to another user exchange 2010

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

example need to move her mail box to her new account inside a subfolder called legacy email
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 -TargetMailbox -TargetFolder "Legacy Email"

This target folder is created under a "Recovery" folder created by Exchange to perform this export.
Jorge OcampoAuthor Commented:
is this moving the data over or just a linker instead?
Jorge OcampoAuthor Commented:
the end result the old account will be deleted
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook 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
Jorge OcampoAuthor Commented:
oh great how would i move the dn legacy to the new account
Jorge OcampoAuthor Commented:
also any limitation that you are aware? do you prefer search or export pst?
Rajitha ChimmaniCommented:
Follow the below steps to get the legacyExchange DN and add it to new account

1. Get-Mailbox | 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

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.
Jorge OcampoAuthor Commented:
Hi Quick Question so thats everything i should right?
Rajitha ChimmaniCommented: might want to check for custom attributes, if any. And definitely the permissions.
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
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..
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

From novice to tech pro — start learning today.