Solved garlin's PowerShell scripts for updating Secure Boot CA 2023


I think this version should work for everyone. Fingers crossed.

Since the SVN wasn't treated everywhere as a [version] variable type, PS was sorting it as a string in dictionary (not numerical) sort order. Where 11.0 comes before 3.0, 5.0, 7.0, 9.0.
It worked!
Garlin, you rock ;-)1.webp
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz8 GB
OS
Windows 11 Pro 25H2
Computer type
Laptop
Manufacturer/Model
Dell XPS 13 9360
CPU
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Memory
8 GB
Great work(y)(y)
Thanks.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\G> powershell -ExecutionPolicy Bypass -File "C:\Users\G\Downloads\TEST.ps1"
Found 01612B139DD5598843AB1C185C3CB2EB92: SVN 9.0
Found 01612B139DD5598843AB1C185C3CB2EB92: SVN 5.0
Found 01612B139DD5598843AB1C185C3CB2EB92: SVN 11.0
Latest 01612B139DD5598843AB1C185C3CB2EB92: SVN 11.0

Found 019D2EF8E827E15841A4884C18ABE2F284: SVN 3.0
Latest 019D2EF8E827E15841A4884C18ABE2F284: SVN 3.0

Found 01C2CA99C9FE7F6F4981279E2A8A535976: SVN 3.0
Latest 01C2CA99C9FE7F6F4981279E2A8A535976: SVN 3.0

SUCCESS: Matched 3/3 SVN signatures from C:\Windows\System32\SecureBootUpdates\DBXUpdate2024.bin
PS C:\Users\G> powershell -ExecutionPolicy Bypass -File "C:\Users\G\Downloads\Check_DBXUpdate.bin.ps1"
SUCCESS: Matched 291/291 EFI signatures from "dbxupdate.bin"
SUCCESS: Matched 3/3 SVN signatures from "DBXUpdate2024.bin"
SUCCESS: Matched 3/3 SVN signatures from "DBXUpdateSVN.bin"

PS C:\Users\G>
 

My Computer My Computer

At a glance

W11
OS
W11
Computer type
PC/Desktop
Manufacturer/Model
Asus
Back
Top Bottom