Get-SecureBootPolicy
Get-SecureBootPolicy
Gets the publisher GUID and the policy version of the Secure Boot configuration policy.
구문
Get-SecureBootPolicy [ <CommonParameters>]
자세한 설명
The Get-SecureBootPolicy cmdlet gets the publisher GUID and the policy version of the Secure Boot configuration policy.
The cmdlet will run on both UEFI and BIOS (non-UEFI) computers.
If the computer does not support Secure Boot or is a non-UEFI computer, then this cmdlet returns an error displaying the following: Secure Boot policy is not enabled on this machine.
If Windows PowerShell® is not run in administrator mode, then this cmdlet returns an error displaying the following: Incorrect authentication data.
매개 변수
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
- None
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
Microsoft.SecureBoot.Commands.SecureBootPolicy
The SecureBootPolicy object contains information about the Secure Boot policy in place for the computer.
Contains the following fields:
-- A GUID named publisher.
-- An unsigned 32-bit integer named version.
예제
EXAMPLE 1
This example gets the publisher GUID and the policy version of the Secure Boot configuration policy.
PS C:\> Get-SecureBootPolicy | Format-List