Open Arbelac opened 2 months ago
I tried that too. Unfortunately it doesn't work.
I have this issue too. I use this module as part of my packer scripts to version my packer images based on the CU available at build time. When I search for Windows 11, the updates don't show (and -strict doesn't work).
Nevermind, I got my issue sorted by :
Get-MSCatalogUpdate -AllPages -Search "Cumulative Update Windows 11 Version 23H2 x64" -Sort "Title" | Where-Object {$_.Title -like 'Cumulative Update for Windows 11'}
I only want the latest update so fixed it with
$Regex = "downloadInformation\[0\]\.files\[0\]\.url\s*=\s*'([^']*)'"
$Links = [regex]::Matches($Links, $Regex)
if ($Update) {
$Guid = $Update.Guid | Select-Object -First 1
}
$Links = Get-UpdateLinks -Guid $Guid if ($Links.Count -eq 1) {
Hi,
its not downloading 2024-05 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5037771) update. Just .Net framework updates is downloading such as 2024-05 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 23H2 for x64 (KB5037591).
Script :