How To: Migrate A PST File to an Exchange Archive Mailbox

Detailed Description

This How To will provide steps how a PST file can be migrated to a Microsoft Exchange Archive Mailbox using the Simply Migrate Management Shell.
To ensure permissions have been correctly set, please follow the steps outlined in the following article;
Post-Installation Guide

Create Job

Creating a job that migrates a PST file into a users Online Archive Mailbox is as simple as applying the following command.

New-SMJob -Source PSTFile -SourceOptions UseStream -SourceInput F:\Some_Path\Personal Folders.pst -Target Exchange -TargetOutput -TargetOptions UseArchive, UseStream, Ex2016 -TargetEWSUrl (Get-SmDefaultO365EwsUrl) -TargetCredential (Get-Credential) -BatchID 1 -Tags 'PST Migration'

Lets go through what we just did and break it down.