Udostępnij za pośrednictwem


SPO Tidbit - Released SMPT PowerShell

Hello All, 

I have previously mentioned the SharePoint Migration Tool (SPMT) and it’s capabilities, so I won’t go into how the tool works but read here for detailed info.  But what I want to provide you with is the fact that they have released PowerShell Cmdlet’s to help with the management.

  1. Register-SPMTMigration:   This cmdlet will create a SPMT migration session and initialization. The initialization includes configuring migration settings at session level and connecting to SPO. If no specific setting parameters are defined, default settings will be used.  After a session is registered, the Administrator can add a migration task to the SPMT session and start migration.
  2. Add-SPMTTask: Add a new migration task to the registered migration session. Currently you can add three types of tasks;File share task, SharePoint task and JSON defined task.
  3. Remove-SPMTTask: Remove an existing migration task from the registered migration.
  4. Start-SPMTMigration: This cmdlet will start the registered SPMT migration.
  5. Get-SPMTMigration: Return object of current session. It includes information regarding to current tasks and current settings.
  6. Stop-SPMTMigration: Cancel the current migration session.
  7. Show-SPMTMigration: If the admin starts the migration in NoShow mode, running the ‘Show-SPMTMigration’ cmdlet will display the task ID, data source location, target location and migration status in the console.
  8. Unregister-SPMTMigration: Remove the SPMT migration session created.

For more information on the cmdlets and there configuration see here.

To help you understand how long a migration could take please see this article.

Pax