Exchange 2010 – Exporting Mailboxes without EXMERGE

I often see customers struggle to make use of the export mailbox features in Exchange Server 2010.  I suspect this is because it is an area that has changed in the last few years and there is a lot of conflicting information online that doesn't clearly state which version of Exchange the information is for.  I thought I would write this to explain how to export mailbox data in Exchange Server 2010 RTM and the changes that were made in SP1.

Exchange Server 2010 RTM

With Exchange 2010 we introduced RBAC to control access rights, this required a change in role assignments before we could use the cmdlet, it also brought a change to 64-bit only code which meant that we need a 64-bit installation of Outlook before we can successfully export a mailbox…

Requirements

  • Permissions assigned to user via RBAC
  • Exchange 2010 Management Tools Installed
  • 64-bit version of Outlook 2010 installed
  • .Net Framework 3.5
  • PowerShell 2.0
To assign RBAC permissions to a user…
    1: New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<username>”

To Assign RBAC permissions to a group
    1: New-ManagementRoleAssignment –Role “Mailbox Import Export” –Group “<usergroup>”

After assigning permissions it may be necessary to logoff and back on or to close and re-open your PowerShell window.

    1: Export-Mailbox -Identity john@contoso.com -PSTFolderPath C:\PSTFiles\john.pst

Exchange Server 2010 SP1

With the release of Exchange Server 2010 SP1 the export-mailbox cmdlet was replaced with new-mailboxexportrequest, it has similar requirements to export-mailbox, however it does not require Outlook to be installed.

Requirements

  • Permissions assigned to user via RBAC
  • Exchange 2010 Management Tools Installed
  • .Net Framwork 3.5
  • PowerShell 3.5
  • Exchange Server 2010 Service Pack 1
To assign RBAC permissions to a user…

    1: New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<username>”

To Assign RBAC permissions to a group
    1: New-ManagementRoleAssignment –Role “Mailbox Import Export” –Group “<usergroup>”

After assigning permissions it may be necessary to logoff and back on or to close and re-open your PowerShell window.

    1: New-MailboxExportRequest -Mailbox AylaKol -FilePath "\\SERVER01\PSTFileShare\Ayla_Recovered.pst"

Comments

  • Anonymous
    January 01, 2003
    Great information shared !
    In my earlier days while needed to export mailbox contents into PST, I used Lepide Exchange recovery manager(http://www.lepide.com/exchange-manager/) that worked fantastic. The option to export only required mailboxes into PST make this tool very comprehensive.

  • Anonymous
    October 27, 2013
    Completely, agree with the statement that says "customers struggles to export 2010 mailboxes to pst". This problem become even more severe when user need to create separate pst file for each mailbox, edb files are corrupted, server is down etc. For resolving this issue i took help from www.pcvita.com/export-exchange-2010-mailboxes-to-pst.html . By option the method which is explained here, i managed to export multiple mailboxes in bulk, created separate pst file for each mailbox and all work is done without Exchange server.

  • Anonymous
    November 27, 2015
    For exporting Exchange mailbox to Outlook PST format tool provides a better solution easily export Exchange mailbox items into PST file formats and user can also export all mailbox items into PST. I am also using utility for exporting exchange mailbox to outlook PST file format. For detail description- http://goo.gl/GUWmo8