Microsoft Exchange/Office365

How to export PST from one Exchange Server to another server

Copies or moves messages, contacts, appointments, meetings, tasks, notes, journal entries and other Outlook items from specified folders to Outlook data file (PST). This scenario explains moving Exchange Server 2010 to 2016.

Step 1: Install the Exchange 2010 Management Tools
Note: The Exchange Server 2010 management tools can be installed on a computer running one of the following operating systems:
– Windows Vista 64-bit with Service Pack 2
– Windows 7 64-bit
– Windows Server 2008 64-bit with Service Pack 2
– Windows Server 2008 R2

Note: To install the Exchange 2010 management tools on your Windows 7 computer you first need to configure the pre-requisite components.

– Open the Control Panel,
– click on Programs and
– then click on Turn Windows Features On or Off.
– Expand internet information services
– Expand the Web Management tool
– click on IIS 6 Management console and
– IIS Metabase and IIS 6 configuration compatibility and ensure both Media Features and Microsoft .Net framwork 3.5.1 are selected to enable the exchange management tool to be installed.

And this must be ran on a separate machine because we are transferring the PST file to a new Domain (Different from the old one)
and this can be used for backup as well. See links for proper installation of the management tool to administer it remotely.
http://exchangeserverpro.com/exchange-2010-install-managementtools/
http://exchangeserverpro.com/exchange-2010-import-pst-files-mailboxes/

Step 2: Using the Exchange Management shell installed, follow this part
FIRST SET THE RIGHTS (PERMISSION)

Note: If you are to perform this task as a user you have to run this command
C:/>New-ManagementRoleAssignment –Role “Mailbox Import Export” –User Administrator

Note: Since no user accounts are granted the rights to export mailboxes by default.
You need to explicitly grant these rights, even to accounts that are organization administrators.

This user needs permission on the mailbox to do this export, use the following commands—-
C:/>Add-MailboxPermission -Identity <MailboxIdParameter> -User <CurrentUser> -AccessRights FullAccess
Note: Do this in order not to get errors while exporting, it works without this command most times.

Creating a network share for mailbox export
1. 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 Subsystem group has read/write permission to.
2. Now create a folder and share it.

Step 3: Exporting the Mailbox: 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.

Then Import to a path on your PC using the command below.
[PS] means Powershell
[PS] C:>Export-Mailbox -Identity <MailboxIdParameter> -PSTFolderPath Path_Of_PST_Folder><File_Name>.pst

Note: You can also see more detail about the mailbox export request with Get-mailboxExportRequest.
[PS] C:>Get-MailboxExportRequest -Name MailboxExport | fl

Note: An easy way to see the progress of all mailbox export requests is to pipe Get-mailboxExportRequest into the Get-MailboxExportRequestStatistics cmdlet.
[PS] C:>Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Step 4: Completing the Mailbox Export Request: When a mailbox export request is completed it remains on the server until it is removed by an administrator using Remove-MailboxExportRequest.
1)To see all of the completed mailbox export requests run this command.
[PS] C:>Get-MailboxExportRequest | where {$_.status -eq “Completed”}

2)And to clear all completed mailbox export requests from Exchange run the following command.
[PS] C:>Get-MailboxExportRequest | where {$_.status -eq “Completed”} | Remove-MailboxExportRequest

TIP: Firstly, no accounts are granted the rights to export mailboxes by default.
You need to explicitly grant these rights, even to accounts that are organization administrators.
This user needs permission on the mailbox to do this export, use the following commands
[PS] C:>Add-MailboxPermission -Identity <MailboxIdParameter> -User <CurrentUser> -AccessRights FullAccess

Note: To export data received between specific dates
[PS] C:>Export-Mailbox -Identity <MailboxIdParameter> -StartDate “<Month/Day/Year>” -EndDate “<Month/Day/Year>” -TargetFolder <Folder_Name> -TargetMailbox <MailboxIdParameter>
Note:
This is America time format. use your default time format.

Also interested in reading this article, “How to determine the statistics of a user when importing into exchange” click on this hyperlink.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x