Mailbox Export Exchange 2010

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.
LVL 21
timgreen7077Exchange EngineerAsked:
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.

VB ITSSpecialist ConsultantCommented:
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

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
bobluisCommented:
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
Exchange

From novice to tech pro — start learning today.