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

Build only parameter fails #2

Closed AngryProgrammerInside closed 3 years ago

AngryProgrammerInside commented 3 years ago

-BuildOnly parameter fails due to error on line 154 of WindowsOSBuild.psm1 Cause is the $Table member NoteProperty for "OS Build" is now "Build" after the update

eg it should be

($Table | Where-Object { $_ -Match "Version $OSVersion" } | Select-Object -First $LatestReleases)."Build"
AshleyHow commented 3 years ago

Thank you for reporting the issue. This has been fixed in v1.0.4 release of the module.