mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 21:37:22 +00:00
try+catch is needed to handle "Variable is currently undefined." error on some older computers Confirm-SecureBootUEFI : Variable is currently undefined: 0xC0000100 At line:1 char:1 + Confirm-SecureBootUEFI + ~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (Microsoft.Secur...BootUefiCommand:ConfirmSecureBootUefiCommand) [C onfirm-SecureBootUEFI], StatusException + FullyQualifiedErrorId : GetFWVarFailed,Microsoft.SecureBoot.Commands.ConfirmSecureBootUefiCommand https://docs.microsoft.com/en-us/powershell/module/secureboot/get-securebootuefi?view=windowsserver2022-ps