Resume-BitLocker

Resume-BitLocker

Restores Bitlocker encryption for the specified volume.

語法

Parameter Set: Default
Resume-BitLocker [-MountPoint] <String[]> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細描述

The Resume-BitLocker cmdlet restores encryption on a volume that uses BitLocker Drive Encryption. You can use the Suspend-BitLocker cmdlet to allow users to access encrypted data temporarily. Data written to the volume continues to be encrypted, but the key to unlock the operating system volume is in the open.

You can specify a volume by drive letter, or you can specify a BitLocker volume object. If you specify a BitLocker volume that is not suspended, this cmdlet has no effect on that volume.

For an overview of BitLocker, see BitLocker Drive Encryption Overview (https://technet.microsoft.com/en-us/library/cc732774.aspx) on TechNet.

參數

-MountPoint<String[]>

Specifies an array of drive letters or BitLocker volume objects. This cmdlet resumes protection for the volumes specified. To obtain a BitLocker volume object, use theGet-BitLockerVolume cmdlet.

別名

必要?

true

位置?

1

預設值

接受管線輸入?

True (ByValue, ByPropertyName)

接受萬用字元?

false

-Confirm

執行 Cmdlet 之前先提示您確認。

必要?

false

位置?

named

預設值

false

接受管線輸入?

false

接受萬用字元?

false

-WhatIf

顯示執行 Cmdlet 後會發生的情況。未執行 Cmdlet。

必要?

false

位置?

named

預設值

false

接受管線輸入?

false

接受萬用字元?

false

<CommonParameters>

此 Cmdlet 支援一般參數:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 與 -OutVariable。如需詳細資訊,請參閱 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

輸入

輸入類型是您可以使用管線處理方式傳遞給 Cmdlet 的物件類型。

  • BitLockerVolume[], String[]

輸出

輸出類型是 Cmdlet 所發出的物件類型。

  • BitLockerVolume[]

範例

Example 1: Resume protection for a volume

This command resumes BitLocker protection for the C: drive.

PS C:\> Resume-BitLocker -MountPoint "C:"

Example 2: Resume protection for all volumes on a computer

This command gets all the BitLocker volumes for the current computer by using the Get-BitLockerVolume cmdlet and passes them to Resume-BitLocker by using the pipe operator. The command restores protection for all BitLocker volumes.

PS C:\> Get-BitLockerVolume | Resume-BitLocker

相關主題

Disable-BitLocker

Enable-BitLocker

Lock-BitLocker

Suspend-BitLocker

Unlock-BitLocker

Get-BitLockerVolume