Commands › SharePoint Online
Invoke-SPOMigrationEncryptUploadSubmit
**Note**: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see Migrate to SharePoint using PowerShell. Creates a new migration job in the target site collection.
Quick start script
# Invoke-SPOMigrationEncryptUploadSubmit — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com
# 2. Run and inspect
Invoke-SPOMigrationEncryptUploadSubmit -Credentials <CredentialCmdletPipeBind> -MigrationSourceLocations <MigrationPackageLocation> -SourceFilesPath <String> | Format-List
# 3. Export for evidence / drift tracking
Invoke-SPOMigrationEncryptUploadSubmit | Export-Clixml .\SPOMigrationEncryptUploadSubmit-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
ImplicitSourceParameterSet
Invoke-SPOMigrationEncryptUploadSubmit -MigrationSourceLocations <MigrationPackageLocation>
-Credentials <CredentialCmdletPipeBind> -TargetWebUrl <String> [-NoLogFile] [-ParallelUpload]
[<CommonParameters>]
ExplicitSourceParameterSet
Invoke-SPOMigrationEncryptUploadSubmit -SourceFilesPath <String> -SourcePackagePath <String>
-Credentials <CredentialCmdletPipeBind> -TargetWebUrl <String> [-NoLogFile] [-ParallelUpload]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.