Restore-SPODataEncryptionPolicy
在復原模式下還原異地租使用者客戶加密狀態的 Cmdlet。 如需詳細資訊,請參閱使用客戶金鑰控制Office 365中的資料
Syntax
Restore-SPODataEncryptionPolicy
-PrimaryKeyVaultName <string>
-PrimaryKeyName <string>
-PrimaryKeyVersion <guid>
-SecondaryKeyVaultName <string>
-SecondaryKeyName <string>
-SecondaryKeyVersion <guid>
[<CommonParameters>]
Description
在復原模式下,使用 Cmdlet 還原您地理租使用者的客戶加密狀態。 如需詳細資訊,請參閱使用客戶金鑰控制Office 365中的資料
範例
範例 1
Restore-SPODataEncryptionPolicy -PrimaryKeyVaultName 'PKVaultName1' -PrimaryKeyName 'PrimaryKey1' -PrimaryKeyVersion 'f635a23bd4a44b9996ff6aadd88d42ba' -SecondaryKeyVaultName 'SKVaultName1' -SecondaryKeyName 'SecondaryKey2' -SecondaryKeyVersion '2b3e8f1d754f438dacdec1f0945f251a'
此範例會將與 SharePoint Online 搭配使用的 DEP 還原,並將商務用 OneDrive還原至指定的金鑰。
參數
-PrimaryKeyName
主鍵的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PrimaryKeyVaultName
主鍵保存庫的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PrimaryKeyVersion
主鍵的版本。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SecondaryKeyName
次要金鑰的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SecondaryKeyVaultName
次要金鑰保存庫的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SecondaryKeyVersion
次要金鑰的版本。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |