PowerShell Logo Small

Confirm-SecureBootUEFI



This is the built-in help made by Microsoft for the command 'Confirm-SecureBootUEFI', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Confirms that Secure Boot is enabled by checking the Secure Boot status on the local computer.

SYNTAX


Confirm-SecureBootUEFI [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Confirm-SecureBootUEFI cmdlet confirms that Secure Boot is enabled by checking the Secure Boot status on a UEFI computer.


If the computer supports Secure Boot and Secure Boot is enabled, then this cmdlet returns True.


If the computer supports Secure Boot and Secure Boot is disabled, then this cmdlet returns False.


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


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


This cmdlet requires that Windows PowerShell be run in administrator mode.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=289482
Format-SecureBootUEFI
Get-SecureBootPolicy
Get-SecureBootUEFI
Set-SecureBootUEFI

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Confirm-SecureBootUEFI
True



This example checks whether or not Secure Boot is enabled on the computer.