AshleyHow / WindowsOSBuild

Windows patch release information (Version, Build, Availability date, Hotpatch, Preview, Out-of-band, Servicing option, KB article, KB URL and Catalog URL) for Windows client and server versions. Useful for scripting and automation purposes. Supports Windows 10 and Windows Server 2016 onwards. Supports Hotpatch on Windows Server 2022 Azure Edition.
MIT License
52 stars 15 forks source link

Windows 11 - Wrong version being returned #48

Closed CarlosAmericano closed 1 month ago

CarlosAmericano commented 1 month ago

Hi,

Thanks for the update for Windows11 24H2. I think theres something wrong with the values being returned, it looks like its getting the "next" version than the one specified... check examples

Get-LatestOSBuild -OSName Win11 -OSVersion 21H2 -LatestReleases 1
Version           : Version 21H2 (OS build 22000)
Build             : 22621.4249
<snip>

Get-LatestOSBuild -OSName Win11 -OSVersion 22H2 -LatestReleases 1
Version           : Version 22H2 (OS build 22621)
Build             : 22631.4249
<snip>

Get-LatestOSBuild -OSName Win11 -OSVersion 23H2 -LatestReleases 1
Version           : Version 23H2 (OS build 22631)
Build             : 26100.1742
<snip>

Get-LatestOSBuild -OSName Win11 -OSVersion 24H2 -LatestReleases 1
Version           : 24H2
Build             :
Availability date : 2024-10-01
<snip>
AshleyHow commented 1 month ago

Have you updated to 2410.1?

On Fri, 4 Oct 2024, 09:21 CarlosAmericano, @.***> wrote:

Hi,

Thanks for the update for Windows11 24H2. I think theres something wrong with the values being returned, it looks like its getting the "next" version than the one specified... check examples

Get-LatestOSBuild -OSName Win11 -OSVersion 21H2 -LatestReleases 1 Version : Version 21H2 (OS build 22000) Build : 22621.4249

Get-LatestOSBuild -OSName Win11 -OSVersion 22H2 -LatestReleases 1 Version : Version 22H2 (OS build 22621) Build : 22631.4249 Get-LatestOSBuild -OSName Win11 -OSVersion 23H2 -LatestReleases 1 Version : Version 23H2 (OS build 22631) Build : 26100.1742 Get-LatestOSBuild -OSName Win11 -OSVersion 24H2 -LatestReleases 1 Version : 24H2 Build : Availability date : 2024-10-01 — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
CarlosAmericano commented 1 month ago

Apologies, I had updated it on powershell, but then was testing on windows powershell when it wasnt updated. all working fine

AshleyHow commented 1 month ago

Glad to hear it!

On Fri, 4 Oct 2024, 11:25 CarlosAmericano, @.***> wrote:

Apologies, I had updated it on powershell, but then was testing on windows powershell when it wasnt updated. all working fine

— Reply to this email directly, view it on GitHub https://github.com/AshleyHow/WindowsOSBuild/issues/48#issuecomment-2393373294, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXYCGY6UHW47GI6A7TZUM3ZZZUH7AVCNFSM6AAAAABPLMBAFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJTGM3TGMRZGQ . You are receiving this because you commented.Message ID: @.***>