Neil Johnson - a rock 'n roll nerd....

Mostly Exchange Server and Office 365, but probably some other stuff too...

Exchange 2010 – Exporting Mailboxes without EXMERGE

Exchange 2010 – Exporting Mailboxes without EXMERGE

  • Comments 1
  • Likes

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
  • 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.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment