共用方式為


Resume-BitLocker

Resume-BitLocker

Restores Bitlocker encryption for the specified volume.

Syntax

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

Detailed Description

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.

Parameters

-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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • BitLockerVolume[], String[]

Outputs

The output type is the type of the objects that the cmdlet emits.

  • BitLockerVolume[]

Examples

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