Link to home
Start Free TrialLog in
Avatar of Jorge Ocampo
Jorge OcampoFlag for United States of America

asked on

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
Avatar of Rajitha Chimmani
Rajitha Chimmani
Flag of United States of America image

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.
Avatar of Jorge Ocampo

ASKER

is this moving the data over or just a linker instead?
the end result the old account will be deleted
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
oh great how would i move the dn legacy to the new account
also any limitation that you are aware? do you prefer search or export pst?
ASKER CERTIFIED SOLUTION
Avatar of Rajitha Chimmani
Rajitha Chimmani
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I prefer Search as its single step but it depends on your convenience. Both do the same.
Hi Quick Question so thats everything i should right?
Yes..you might want to check for custom attributes, if any. And definitely the permissions.
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
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..