Lock-BitLocker

Lock-BitLocker

Prevents access to encrypted data on a BitLocker volume.

구문

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

자세한 설명

The Lock-BitLocker cmdlet prevents access to all encrypted data on a volume that uses BitLocker Drive Encryption. You can use the Unlock-BitLocker cmdlet to restore access.

You can specify a volume to lock by drive letter, or you can specify a BitLocker volume object. This cmdlet cannot lock a volume that hosts the operating system. If you attempt to lock an already locked volume, this cmdlet does nothing.

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

매개 변수

-ForceDismount

Indicates that the cmdlet attempts to lock a drive even if the drive is in use.

별칭

fd

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-MountPoint<String[]>

Specifies an array of drive letters or BitLocker volume objects. The cmdlet attempts to lock the volumes specified. To obtain a BitLocker volume object, use the Get-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: Lock a volume

This command locks the BitLocker volume specified with the Mount parameter. The command uses the ForceDismount parameter, so the cmdlet attempts to lock the volume even if it is in use.

PS C:\> Lock-Volume -MountPoint "E:" -ForceDismount

관련 항목

Disable-BitLocker

Enable-BitLocker

Resume-BitLocker

Suspend-BitLocker

Unlock-BitLocker

Get-BitLockerVolume