Microsoft.SharePoint.MigrationTool.PowerShell Module
The following migration cmdlets are based on the SharePoint Migration Tool (SPMT) migration engine. It will move files from File Share, SharePoint 2013 document libraries, or items of SharePoint 2013 lists to Office 365.
Install SPMT and Get PowerShell module
Note
PowerShell 5.0 and .NET Framework 4.6.2 or higher are required to support the migration of file
paths of up to 400 characters. After installing SPMT, the PowerShell dlls are copied to
%userprofile%\Documents\WindowsPowerShell\Modules.
Microsoft.SharePoint.MigrationTool.PowerShell Cmdlets
| Cmdlet | Description |
|---|---|
| Add-SPMTTask |
Add a new migration task to the registered migration session. |
| Get-SPMTMigration |
Get the registered SPMT Migration. |
| Register-SPMTMigration |
This cmdlet will create a migration session and initialize it. |
| Remove-SPMTTask |
Remove an existing migration task from the registered migration. |
| Show-SPMTMigration |
If the user starts the migration with -NoShow parameter, running the 'Show-SPMTMigration' cmdlet will display the task ID, data source location, target location and migration status in the console. Pressing Ctrl+C will return to NoShow mode. |
| Start-SPMTMigration |
This cmdlet will start the registered SPMT migration. |
| Stop-SPMTMigration |
Cancel the current migration session. |
| Unregister-SPMTMigration |
Remove the SPMT migration session created. |