Skip to content

Latest commit

 

History

History
73 lines (44 loc) · 2.62 KB

File metadata and controls

73 lines (44 loc) · 2.62 KB
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

New-SPOMigrationEncryptionParameters

SYNOPSIS

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.

SYNTAX

New-SPOMigrationEncryptionParameters [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

EXAMPLE 1

$o = New-SPOMigrationEncryptionParameters

Outputs a random encryption key and saves it in the $o variable.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Byte[]

EncryptionKey: The randomly generated encryption key using System.Security.Cryptography.AesCryptoServiceProvider class.

Microsoft.Online.SharePoint.Migration.SPMigrationJobEncryptionMethod

EncryptionMethod: The encryption algorithm used to generate the EncryptionKey. Currently hardcoded to AES256BC.

NOTES

RELATED LINKS

Submit-SPOMigrationjob

ConvertTo-SPOMigrationEncryptedPackage

Set-SPOMigrationPackageAzureSource

Introduction to the SharePoint Online management shell

SharePoint Online Management Shell Download