Solved

Mailbox Export Exchange 2010

Posted on 2014-12-18
3
122 Views
Last Modified: 2014-12-23
Does anyone know of a script or cmdlets that will allow you to export the contents of 1 mailbox to another mailbox. Trying to avoid exporting to pst.
0
Comment
Question by:timgreen7077
3 Comments
 
LVL 20

Expert Comment

by:Satya Pathak
ID: 40506883
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40507035
You could look at using the Search-Mailbox cmdlet but it won't work anywhere near as well as the New-MailboxExportRequest and New-MailboxImportRequest cmdlets (which exports to a PST file).

I would recommend you go with the latter for the sake of simplicity as the Search-Mailbox cmdlet doesn't do a straight copy of the entire mailbox, it will create a new folder in the destination mailbox with the source user's name and the date/time the copy ran instead.

For example, if I run the Search-Mailbox command to do a copy at 12PM then a subfolder named Source-User-12/19/2014 12:00:00 PM gets created in the target folder in the destination user's mailbox. Not ideal. Go with the mailbox export and import method instead as it's a lot cleaner.

You can use these commands to copy over the contents:
New-MailboxExportRequest -Mailbox "<Source User>" -FilePath "\\Server\Share\Source User.pst"
New-MailboxImportRequest -Mailbox "<Destination User>" -FilePath "\\Server\Share\Source User.pst" -TargetRootFolder SubFolderInPrimary

Open in new window

Note that the Exchange Trusted Subsystem account must have read/write permissions to \\Server\Share\ in order for you to be able to use this location for mailbox exports.
0
 
LVL 5

Expert Comment

by:bobluis
ID: 40508735
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

Suggested Solutions

Find out what you should include to make the best professional email signature for your organization.
In-place Upgrading Dirsync to Azure AD Connect
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
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…

831 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