ConvertTo-SPOMigrationEncryptedPackage
Use this Cmdlet to convert your XML files into a new encrypted migration package.
Syntax
ImplicitSourceParameterSet
ConvertTo-SPOMigrationEncryptedPackage
-MigrationSourceLocations <MigrationPackageLocation>
-EncryptionParameters <EncryptionParameters>
-TargetFilesPath <String>
-TargetPackagePath <String>
[-NoLogFile]
[<CommonParameters>]
ExplicitSourceParameterSet
ConvertTo-SPOMigrationEncryptedPackage
-SourceFilesPath <String>
-SourcePackagePath <String>
-EncryptionParameters <EncryptionParameters>
-TargetFilesPath <String>
-TargetPackagePath <String>
[-NoLogFile]
[<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
Applicable: SharePoint Online
Parameters of the encryption, it doesn't accept wildcard characters. It accepts parameters like SHA384, SHA256, etc.
Parameter properties
Type: | Microsoft.Online.SharePoint.Migration.EncryptionParameters |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-MigrationSourceLocations
Applicable: SharePoint Online
Possible Source locations to migrate
Parameter properties
Type: | Microsoft.Online.SharePoint.Migration.MigrationPackageLocation |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ImplicitSourceParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-NoLogFile
Applicable: SharePoint Online
Switch Parameter to determine if you should get or not a log file.
Parameter properties
Type: | System.Management.Automation.SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SourceFilesPath
Applicable: SharePoint Online
Defines the temporary Path where are located the XML source files.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ExplicitSourceParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SourcePackagePath
Applicable: SharePoint Online
Defines the source package path ___location.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ExplicitSourceParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TargetFilesPath
Applicable: SharePoint Online
Defines the temporary Path where are located the XML source files.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TargetPackagePath
Applicable: SharePoint Online
Defines the source package path ___location of the package to be encrypted.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.