Editar

Compartilhar via


Resume-BitLocker

Restores Bitlocker encryption for the specified volume.

Syntax

Resume-BitLocker
      [-MountPoint] <String[]>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

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

Examples

Example 1: Resume protection for a volume

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

This command resumes BitLocker protection for the C: drive.

Example 2: Resume protection for all volumes on a computer

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

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 pipeline operator. The command restores protection for all BitLocker volumes.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MountPoint

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 the Get-BitLockerVolume cmdlet.

Type:String[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

BitLockerVolume[], String[]

Outputs

BitLockerVolume[]