| external help file | sharepointonline.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/sharepoint-online/convertto-spomigrationencryptedpackage |
| applicable | SharePoint Online |
| title | ConvertTo-SPOMigrationEncryptedPackage |
| schema | 2.0.0 |
| author | trent-green |
| ms.author | trgreen |
| ms.reviewer |
Use this Cmdlet to convert your XML files into a new encrypted migration package.
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>]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.
ConvertTo-SPOMigrationEncryptedPackage -EncryptionParameters SHA256 -MigrationSourceLocations $MigrationPackageLocation -NoLogFile -TargetFilesPath $TargetFilesPath -TargetPackagePath $TargetPackagePathChanges a migration package to a migration encrypted package on the "migrationSourceLocations" , with log file on the current tenant
ConvertTo-SPOMigrationEncryptedPackage -EncryptionParameters SHA384 -MigrationSourceLocations $MigrationPackageLocation -TargetFilesPath $TargetFilesPath -TargetPackagePath $TargetPackagePathSame as example1 but without log file and using an encryption type SHA384
Parameters of the encryption, it doesn't accept wildcard characters. It accepts parameters like SHA384, SHA256, etc.
Type: EncryptionParameters
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePossible Source locations to migrate
Type: MigrationPackageLocation
Parameter Sets: ImplicitSourceParameterSet
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSwitch Parameter to determine if you should get or not a log file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDefines the temporary Path where are located the XML source files.
Type: String
Parameter Sets: ExplicitSourceParameterSet
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDefines the source package path location.
Type: String
Parameter Sets: ExplicitSourceParameterSet
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDefines the temporary Path where are located the XML source files.
Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseDefines the source package path location of the package to be encrypted.
Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Getting started with SharePoint Online Management Shell
ConvertTo-SPOMigrationTargetedPackage Migrate to SharePoint Online using PowerShell