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 firstname.lastname@example.org -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.
|SourceInput||This is the UPN of the mailbox you wish to migrate the data from.|
|SourceCredential||These are a set of credentials that have permission to fetch the data from the source technology.|
|SourceOptions||Specify the version of the source. In the example above a Source of "Exchange" is used with the SourceOptions set to "Ex2016" for Exchange 2016.|
|SourceEwsUrl||Optionally 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.
|TargetOutput||Specify the path of the .PST file you would like to migrate the data to.|
|MaxPSTSize||This 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.|
|BatchId||This tells the job to which batch it belongs.|
|Tags||Specify tags to your jobs so they are easier to group in the Management User Interface.|