ConvertTo-SPOMigrationEncryptedPackage
使用此 Cmdlet 將 XML 檔案轉換成新的加密移轉套件。
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
此命令會將暫存 XML 資料夾檔案上的 XML 檔案轉換成一組新的目標移轉加密中繼資料檔案至目標目錄。
範例
範例 1
ConvertTo-SPOMigrationEncryptedPackage -EncryptionParameters SHA256 -MigrationSourceLocations $MigrationPackageLocation -NoLogFile -TargetFilesPath $TargetFilesPath -TargetPackagePath $TargetPackagePath
將移轉套件變更為 「migrationSourceLocations」 上的移轉加密套件,並在目前租使用者上使用記錄檔
範例 2
ConvertTo-SPOMigrationEncryptedPackage -EncryptionParameters SHA384 -MigrationSourceLocations $MigrationPackageLocation -TargetFilesPath $TargetFilesPath -TargetPackagePath $TargetPackagePath
與 example1 相同,但沒有記錄檔且使用加密類型 SHA384
參數
-EncryptionParameters
加密的參數,不接受萬用字元。 它接受 SHA384、SHA256 等參數。
Type: | EncryptionParameters |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-MigrationSourceLocations
可能要移轉的來源位置
Type: | MigrationPackageLocation |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-NoLogFile
切換參數以判斷您是否應該取得記錄檔。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SourceFilesPath
定義 XML 原始程式檔所在的暫存路徑。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SourcePackagePath
定義來源封裝路徑位置。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-TargetFilesPath
定義 XML 原始程式檔所在的暫存路徑。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-TargetPackagePath
定義要加密之封裝的來源封裝路徑位置。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |