| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/new-spomigrationencryptionparameters |
| applicable | SharePoint Online |
| title | New-SPOMigrationEncryptionParameters |
| schema | 2.0.0 |
| author | samkabue |
| ms.author | speedta |
| ms.reviewer |
Note: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see Migrate to SharePoint using PowerShell.
Creates a new random encryption key for a migration job or package.
New-SPOMigrationEncryptionParameters [<CommonParameters>]
Creates a random encryption key for submission of a migration job or creation of a migration package. For use with Submit-SPOMigrationJob, ConvertTo-SPOMigrationEncryptedPackage, and Set-SPOMigrationPackageAzureSource in the -EncryptedParameter parameter for each cmdlet.
$o = New-SPOMigrationEncryptionParametersOutputs a random encryption key and saves it in the $o variable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
EncryptionKey: The randomly generated encryption key using System.Security.Cryptography.AesCryptoServiceProvider class.
EncryptionMethod: The encryption algorithm used to generate the EncryptionKey. Currently hardcoded to AES256BC.
ConvertTo-SPOMigrationEncryptedPackage
Set-SPOMigrationPackageAzureSource