An email organization lives and dies by mailbox backups. Unfortunately, all Microsoft Exchange versions, including Exchange 2016, come with limited brick-level backup capabilities. Basically, the only available granular option is an export to PST files. This can be done via Outlook (obviously), PowerShell and in some cases also via Exchange Management Console / Control Panel. In this article I discuss the options available via PowerShell in: Exchange 2016, Exchange 2013 and Exchange 2010.
The following process details how to import mailboxes using Exchange 2010
Assign the ‘Mailbox Import Export’ Role to the account
Before being able to import (or export) mailboxes you will need to assign the ‘Mailbox Import Export’ role to the account you use for Exchange administration.
This can be applied to an individual account or a security group.
To assign the role you will need to run one of the following PowerShell commandlets with an account which is a member of the ‘Organization Management’ security group. For Example, a domain administrator account already has this level of access.
Assign ‘Mailbox Import Export’ to a user
In this example we will be applying the role to the ‘Administrator’ user account.
New-ManagementRoleAssignment -Role “Mailbox Import Export” -User UserName
this example we will be applying the role to the ‘HelpDesk’ security group.Please note, the security group needs to have a ‘Universal’ scope.
New-ManagementRoleAssignment -Role "Mailbox Import Export" -SecurityGroup HelpDesk
Creating a Network Share for Mailbox Exports in Exchange 2010
Next we need to create the network share that will be used as the file path for the exported PST files. All that is required here is a network share that the Exchange Trusted Subsystemgroup has read/write permission to.
Exporting a Mailbox with an Exchange Server Mailbox Export Request
With everything configured properly we can now use New-MailboxExportRequest to start the mailbox export. The only two required parameters for the command are the file path to the export PST file, and the name of the mailbox to export.
Import the mailbox using the Exchange Management Shell
This example uses the Exchange Management Shell.
The mailbox data will need to be in a PST file saved to a shared folder.
Import an individual mailbox
New-MailboxImportRequest -Mailbox "TomSmith" -FilePath \\W2K8DC1\PSTExport\TomSmith.pst
o see all of the completed mailbox export requests run this command.
And to clear all completed mailbox export requests from Exchange run the following command.
Happy Learning 🙂