Check Secure Boot Status with Confirm-SecureBootUEFI
One cmdlet tells you whether Secure Boot is on — the check PC Health does before a Windows 11 upgrade.
01Command
$ Confirm-SecureBootUEFI02What it does
Secure Boot blocks unsigned bootloaders and rootkits, and it is one of the four hard requirements for Windows 11 — so this is the first check when an upgrade or anti-cheat game complains. True/False comes back immediately, no reboot into firmware setup needed. A thrown error (“Cmdlet not supported on this platform”) means the machine is running legacy BIOS (CSM), which needs a firmware-mode migration before Secure Boot can even be considered. To actually enable it you must go into UEFI setup and turn on Secure Boot (sometimes after disabling CSM), but this cmdlet tells you whether that trip is necessary.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Confirm-SecureBootUEFIEvidence: Documents Confirm-SecureBootUEFI returning True/False, and that it throws on non-UEFI systems.
Last verified: 2026-09-18 · Category: System & Settings
06Related solutions
Search inside text files and logs with regex, returning file, line number and match.
Create or update a .zip from any files or folder contents straight from PowerShell.
A built-in PowerShell one-liner that answers 'is port 5432/3389/443 actually open through this network?' — no telnet client needed.