Muokkaa

Jaa


ConvertTo-SPOMigrationEncryptedPackage

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

Syntax

ConvertTo-SPOMigrationEncryptedPackage
              -EncryptionParameters <EncryptionParameters>
              -MigrationSourceLocations <MigrationPackageLocation>
              [-NoLogFile]
              -TargetFilesPath <String>
              -TargetPackagePath <String>
              [<CommonParameters>]
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:EncryptionParameters
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-MigrationSourceLocations

Possible Source locations to migrate

Type:MigrationPackageLocation
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-NoLogFile

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-SourceFilesPath

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-SourcePackagePath

Defines the source package path location.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-TargetFilesPath

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-TargetPackagePath

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online