Tags: Exchange 2013, Mailbox Import and Export, Microsoft
add a comment
In some scenarios, you might want to export data from the user’s database or import data to the user’s database. For example, because of compliance or legal reasons, you may be required to export mailbox content from a specific user to a personal storage file (.pst) file. For other purposes, you might want to perform a snapshot of a specific mailbox.
In yet another scenario, you might want to import data from a .pst file from a legacy application to a user’s mailbox on the Exchange Server. For example, if a user was using a Windows Mail application, all of the user’s data was being stored in a .pst file. It is common to import data from the user’s .pst file to the user’s new mailbox on the Exchange Server, or to the user’s archive mailbox.
In Exchange 2013, you can use the New-MailboxImportRequest or New-MailboxExportRequest cmdlets to import or export data from the user’s mailbox. Requests for mailbox import or export must be executed from the Exchange Management Shell. After you run one of these cmdlets, the process is completed asynchronously by the Microsoft Exchange Mailbox Replication service. This service takes advantage of the queuing and throttling frameworks to optimize Exchange performance during import or export operations.
To use the New-MailboxImportRequest or New-MailboxExportRequest cmdlets, the “Mailbox Import Export” role must be assigned to you. By default, this role is unassigned.
The steps to configure Mailbox Import and Export are as follows
- Enter the Exchange Management Shell.
- Then to allow Administrator access to the Import and Export. Type the following.
- New-ManagementRoleAssignment –Role “Mailbox Import Export” –User Administrator then press Enter
- To export type the following.
- New-MailboxExportRequest –Mailbox username –Filepath path to export location
- To import to the user Archive folder type the following.
- New-MailboxImportRequest –Mailbox username –IsArchieve –Filepath path to file location