Skip to content

Latest commit

 

History

History
190 lines (138 loc) · 4.76 KB

ConvertTo-SPOMigrationEncryptedPackage.md

File metadata and controls

190 lines (138 loc) · 4.76 KB
external help fileModule Nameonline versionapplicabletitleschemaauthorms.authorms.reviewer
sharepointonline.xml
Microsoft.Online.SharePoint.PowerShell
SharePoint Online
ConvertTo-SPOMigrationEncryptedPackage
2.0.0
trent-green
trgreen

ConvertTo-SPOMigrationEncryptedPackage

SYNOPSIS

Use this Cmdlet to convert your XML files into a new encrypted migration package.

SYNTAX

ImplicitSourceParameterSet

ConvertTo-SPOMigrationEncryptedPackage-EncryptionParameters <EncryptionParameters>-MigrationSourceLocations <MigrationPackageLocation> [-NoLogFile] -TargetFilesPath <String>-TargetPackagePath <String> [<CommonParameters>]

ExplicitSourceParameterSet

ConvertTo-SPOMigrationEncryptedPackage-EncryptionParameters <EncryptionParameters> [-NoLogFile] -SourceFilesPath <String>-SourcePackagePath <String>-TargetFilesPath <String>-TargetPackagePath <String> [<CommonParameters>]

DESCRIPTION

This command convert the XML file on your temporary XML folder files into a new set of targeted migration encrypted metadata files to the target directory.

EXAMPLES

Example 1

ConvertTo-SPOMigrationEncryptedPackage-EncryptionParameters SHA256 -MigrationSourceLocations $MigrationPackageLocation-NoLogFile -TargetFilesPath $TargetFilesPath-TargetPackagePath $TargetPackagePath

Changes a migration package to a migration encrypted package on the "migrationSourceLocations" , with log file on the current tenant

Example 2

ConvertTo-SPOMigrationEncryptedPackage-EncryptionParameters SHA384 -MigrationSourceLocations $MigrationPackageLocation-TargetFilesPath $TargetFilesPath-TargetPackagePath $TargetPackagePath

Same as example1 but without log file and using an encryption type SHA384

PARAMETERS

-EncryptionParameters

Parameters of the encryption, it doesn't accept wildcard characters. It accepts parameters like SHA384, SHA256, etc.

Type: EncryptionParametersParameter Sets: (All)Aliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-MigrationSourceLocations

Possible Source locations to migrate

Type: MigrationPackageLocationParameter Sets: ImplicitSourceParameterSetAliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-NoLogFile

Switch Parameter to determine if you should get or not a log file.

Type: SwitchParameterParameter Sets: (All)Aliases: Applicable: SharePoint OnlineRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-SourceFilesPath

Defines the temporary Path where are located the XML source files.

Type: StringParameter Sets: ExplicitSourceParameterSetAliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-SourcePackagePath

Defines the source package path location.

Type: StringParameter Sets: ExplicitSourceParameterSetAliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-TargetFilesPath

Defines the temporary Path where are located the XML source files.

Type: StringParameter Sets: (All)Aliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-TargetPackagePath

Defines the source package path location of the package to be encrypted.

Type: StringParameter Sets: (All)Aliases: Applicable: SharePoint OnlineRequired: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

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.

RELATED LINKS

Getting started with SharePoint Online Management Shell

Get-SPOAppErrors

ConvertTo-SPOMigrationTargetedPackageMigrate to SharePoint Online using PowerShell

close