Windows PowerShell command on Get-command Get-SecureBootPolicy
MyWebUniversity

Windows PowerShell command on Get-command Get-SecureBootPolicy

NAME

Get-SecureBootPolicy

SYNOPSIS

Gets the publisher GUID and the policy version of the Secure Boot configuration policy.

SYNTAX

Get-SecureBootPolicy []

DESCRIPTION

The Get-SecureBootPolicy cmdlet gets the publisher GUID and the policy version of the Secure Boot configuration

policy.

The cmdlet runs on both UEFI and BIOS (non-UEFI) computers.

If the computer does not support Secure Boot or is a non-UEFI computer, this cmdlet displays the following:

Secure Boot policy is not enabled on this machine. If you do not run Windows PowerShellr in administrator mode, this cmdlet returns an error displaying the following: Incorrect authentication data.

PARAMETERS

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

INPUTS

None

OUTPUTS

Microsoft.SecureBoot.Commands.SecureBootPolicy This cmdlet returns a SecureBootPolicy object that contains the following information about the Secure Boot policy for the computer:

-- A GUID named Publisher.

-- An unsigned 32-bit integer named Version.

Example 1: Get Secure Boot policy

PS C:\> Get-SecureBootPolicy | Format-List

Publisher: 77fa9abd-0359-4d32-bd60-28f4e78f784b

Version : 1 This command gets the publisher GUID and the policy version of the Secure Boot configuration policy.

RELATED LINKS

Confirm-SecureBootUEFI

Format-SecureBootUEFI

Get-SecureBootUEFI

Set-SecureBootUEFI



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™