Solved

need to export mailbox from user to another user exchange 2010

Posted on 2014-10-06
12
328 Views
Last Modified: 2014-10-07
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
0
Comment
Question by:Jorge Ocampo
  • 6
  • 6
12 Comments
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40364686
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
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40364698
is this moving the data over or just a linker instead?
0
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40364716
the end result the old account will be deleted
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40364784
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
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40364835
oh great how would i move the dn legacy to the new account
0
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40364843
also any limitation that you are aware? do you prefer search or export pst?
0
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 500 total points
ID: 40364847
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
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40364851
I prefer Search as its single step but it depends on your convenience. Both do the same.
0
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40366151
Hi Quick Question so thats everything i should right?
0
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40366158
Yes..you might want to check for custom attributes, if any. And definitely the permissions.
0
 
LVL 2

Author Comment

by:Jorge Ocampo
ID: 40366164
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
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40367002
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

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question