SharePointMigrationTool
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
Notes:
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.
SharePointMigrationTool
Add-SPMTTask |
Add a new migration task to the registered migration session. Currently there are three different types of tasks allowed: File Share task, SharePoint task and JSON defined task. |
Get-SPMTMigration |
Return the object of current session. It includes current tasks status and current session level settings. The status of current tasks includes:
|
Register-SPMTMigration |
This cmdlet will create a migration session and initialize it. The initialization will configure migration settings at session level. If no specific setting parameters are defined, default settings will be used. After a session is registered, the user can add a migration task to the migration session and start migration. |
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. |