Tech Tip: Exporting Mailboxes in Exchange 2010 SP1

The whole mailbox export thing for Exchange has come a long way since Exchange 2003. 2003 had ExMerge, and Exchange 2007 through 2010 RTM had the Export-Mailbox command in the Exchange Management Shell. I liked the whole management shell thing well enough, but having to install the management tools and Outlook to do mailbox exports was a hassle. Exchange 2010 SP1 changes this, eliminating the need for Outlook, but it also changes the way that mailbox exports are done.

There are two fundamental differences from the 2007-2010 RTM method for exporting. First of all, you’ll need to make some modifications to your AD permissions for whichever account will be doing the exports (inexplicably, domain administrators and Exchange organization administrators do not have this right by default).

Fire up your Exchange management shell and type in the following:
New-ManagementRoleAssignment -role “Mailbox Import Export” -user “DOMAIN\user”

Log out and then log back in to apply the new permissions. You’ll know if they’re applied or not because if they did not apply, you won’t see this next command:
New-MailboxExportRequest -FilePath “\\UNC\Path\to\folder\file.pst” -Mailbox “mailbox”

If it works, you will see the mailbox listed as “queued” for export.

For more info, including how to export more than one mailbox at a time, click here.


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.