Open Arbelac opened 6 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) {
I just want to point out that the Download URL has changed, specifically for Windows 11 Updates, along with those of the associated Windows Server 2022 Editions.
I've included the URLs, for "Windows 10 21H2", "Windows Server 2022 21H2", "Windows 11 23H2" & "Windows Server 2022 23H2" below, for comparison. As we can see, the Domain URL for the Former Two is "https://catalog.s.download.windowsupdate.com" and the Domain URL for the Latter Two is "https://catalog.sf.dl.delivery.mp.microsoft.com".
Windows 10 21H2 & Windows Server 2022 21H2:
2024-08 Cumulative Update for Windows 10 Version 21H2 for x64-based Systems (KB5041580): https://catalog.s.download.windowsupdate.com/c/msdownload/update/software/secu/2024/08/windows10.0-kb5041580-x64_b3de56748ec2ba6f57af49e58690585ed0c385ec.msu
2024-08 Cumulative Update for Microsoft server operating system version 21H2 for x64-based Systems (KB5041160) https://catalog.s.download.windowsupdate.com/d/msdownload/update/software/secu/2024/08/windows10.0-kb5041160-x64_f8dc7d5afa74f5b403c918ea78dd82a60626bcfd.msu
Windows 11 23H2 & Windows Server 2022 23H2:
2024-08 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5041585): https://catalog.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/38b0e2e0-267e-4a3f-b940-3ddf2fe60f5e/public/windows11.0-kb5041585-x64_319b34bb6f8f9053c7cc09e635e541931fbbb111.msu
2024-08 Cumulative Update for Microsoft server operating system version 23H2 for x64-based Systems (KB5041573): https://catalog.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/08cf7d44-3284-41e8-82fd-b0c528079221/public/windows11.0-kb5041573-x64_b68aab1e63a2c92452e54043bab6dcac12b11c60.msu
Just something to look out for.
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 :