Get-SecureBootUEFI

Get-SecureBootUEFI

Gets the UEFI variable values related to Secure Boot such as the SetupMode, SecureBoot, KEK, PK, SignatureDatabase, and forbidden SignatureDatabase.

構文

Parameter Set: __AllParameterSets
Get-SecureBootUEFI [-Name] <String> [-OutputFilePath <String> ] [ <CommonParameters>]

詳細説明

The Get-SecureBootUEFI cmdlet gets the UEFI variable values related to Secure Boot which are: SetupMode, SecureBoot, KEK, PK, SignatureDatabase (DB), and forbidden SignatureDatabase (DBX).

If the computer does not support Secure Boot or is a BIOS (non-UEFI) computer, then this cmdlet will return an error displaying the following: Cmdlet not supported on this platform.

If the variable does not exist, then this cmdlet will return an error displaying the following: Variable is currently undefined.

If Windows PowerShell® is not run in administrator mode, then this cmdlet will return an error displaying the following: Unable to set proper privileges. Access was denied.

パラメーター

-Name<String>

Specifies the name of the UEFI environment variable.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-OutputFilePath<String>

Specifies the output file path of the UEFI environment variable.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.String

    The String object represents the UEFI variable name.

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.SecureBoot.Commands.UEFIEnvironmentVariable

    The UEFIEnvironmentVariable object contains the following properties:
    -- Name
    -- Bytes
    -- Attributes

EXAMPLE 1

This example gets information about PK from the UEFI variable.

PS C:\> Get-SecureBootUefi –Name PK | Format-List

関連トピック

Confirm-SecureBootUEFI

Format-SecureBootUEFI

Get-SecureBootPolicy

Set-SecureBootUEFI