@garlin I just downloaded the recent updates from your first post. Now there is something wrong with the script Check_uefi-CA2023.ps1
I run the script with verbose and audit command and I get this (between equality-sign lines):
=================================================================
Windows 11 25H2 (26200.8328)
Secure Boot: ON
Virtualization Based Security: ON
BitLocker on (C:) OFF
BIOS Firmware
-------------
ASUS All Series
Version: 2503
Date: 2016-02-26
Factory Default UEFI PK Cert
----------------------------
(NONE)
UEFI PK Cert
------------
ASUSTeK MotherBoard PK Certificate
Factory Default UEFI KEK Certs
------------------------------
(NONE)
UEFI KEK Certs
--------------
Microsoft Corporation KEK CA 2011
Microsoft Corporation KEK 2K CA 2023
Canonical Ltd. Master Certificate Authority
ASUSTeK MotherBoard KEK Certificate
Factory Default UEFI DB Certs
-----------------------------
(NONE)
UEFI DB Certs
-------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
Microsoft Option ROM UEFI CA 2023
Microsoft UEFI CA 2023
Windows UEFI CA 2023
Canonical Ltd. Master Certificate Authority
ASUSTeK MotherBoard SW Key Certificate
ASUSTeK Notebook SW Key Certificate
Factory Default UEFI DBX Certs
------------------------------
(NONE)
EFI_CERT_SHA256_GUID Signatures: 0
UEFI DBX Certs
--------------
Microsoft Corporation UEFI CA 2011
Microsoft Windows Production PCA 2011
Windows BootMgr SVN 8.0
EFI_CERT_SHA256_GUID Signatures: 440
UEFI Variable
-------------
SBAT (Linux only): sbat,1,2024010900 / shim,4 / grub,3 / grub.debian,4
[31;1mGet-Volume_DevicePath: [0mI:\MiCROSOFT\CERT\SecureBoot-CA-2023-Updates\Check_UEFI-CA2023.ps1:1395[0m
[31;1m[0m[36;1mLine |[0m
[31;1m[0m[36;1m[36;1m1395 | [0m $EFI_Path = '{0}EFI' -f (Get-Volume_DevicePath [36;1m$GUID[0m)[0m
[31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m | [31;1m ~~~~~[0m
[31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m[31;1m[31;1m[36;1m | [31;1mCannot process argument transformation on parameter 'VolumeGUID'. Cannot convert value to type System.String.[0m
Command cannot find any of the specified files.
=====================================================================
The script stops at UEFI Variable section and never completes to the end.
What is wrong ? Is the script
wrong not suitable for the BIOS firmware of my PC or is it my PC that is acting wrong in other ways ? I had never seen SBAT (Linux only) grub,3, etc. in the output before.