Mimecast Simply Migrate: Migrating an Exchange Mailbox to a .PST File

Document created by user.oxriBaJeN4 Employee on Sep 12, 2019Last modified by user.oxriBaJeN4 Employee on Sep 12, 2019
Version 2Show Document
  • View in full screen mode

This guide describes how a Microsoft Exchange Mailbox can be migrated to a .PST file using the Simply Migrate Management Shell. To ensure permissions have been correctly set, follow the steps outlined in the Microsoft Office 365 and Microsoft Exchange Permissions page.


Creating a Job


To migrate a Microsoft Exchange mailbox to a PST file, use the command syntax below. There are additional options that can be set within a job depending on the version and type of Exchange environment you are accessing.

New-SMJob -Source Exchange -SourceInput user@domain.com -SourceCredential (Get-Credential) -SourceOptions Ex2016 -SourceEwsUrl (Get-SmDefaultO365EwsUrl) -Target PSTFile -TargetOutput "F:\Some_Path\Personal Folders.pst" -MaxPSTSize 5120 -BatchId 1 -Tags "PST Extract"

The parameters used in the command are:


Select the required technology you are exporting from (e.g. Exchange) by tabbing through the list of supported technologies.

SourceInputThis is the UPN of the mailbox you wish to migrate the data from.
SourceCredentialThese are a set of credentials that have permission to fetch the data from the source technology.
SourceOptionsSpecify the version of the source. In the example above a Source of "Exchange" is used with the SourceOptions set to "Ex2016" for Exchange 2016.
SourceEwsUrlOptionally specify an EWS URL to connect to Exchange. In the example above the Simply Migrate Helper cmdlet is used for the Office 365 EWS endpoints. Alternatively, you can manually specify your EWS endpoint (e.g. https://mail.domain.com/EWS/Exchange.amsx’).

Select the required technology you are exporting to (e.g PST File) by tabbing through the list of supported technologies.

TargetOutputSpecify the path of the .PST file you would like to migrate the data to.
MaxPSTSizeThis sets a maximum .PST file size in MB for the target files. When a file reaches this size it is closed, and a new file started with an incrementing number appended to the name.
BatchIdThis tells the job to which batch it belongs.
TagsSpecify tags to your jobs so they are easier to group in the Management User Interface.


See Also


  • Get-SMBatch
  • New-SMBatch
  • Get-SMConfig
  • Set-SMConfig