Commands › SharePoint Online

Invoke-SPOMigrationEncryptUploadSubmit

SharePoint Online Microsoft.Online.SharePoint.PowerShell Invoke-*

**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)

ParameterTypeRequiredWhat it controls
-Credentials CredentialCmdletPipeBind yes Parameter to fill out credentials of the SPO tenant.
-MigrationSourceLocations MigrationPackageLocation yes Migration Location where the package lies.
-NoLogFile SwitchParameter Controls if a log will be created or not
-ParallelUpload SwitchParameter Whether to enable parallel upload of files to Azure.
-SourceFilesPath String yes Source files Path, string
-SourcePackagePath String yes Source Package Path.
-TargetWebUrl String yes Target web URL

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.