WindowsOSBuild icon indicating copy to clipboard operation
WindowsOSBuild copied to clipboard

Not working on Server 2022 as expected

Open CarlosAmericano opened this issue 4 years ago • 6 comments

Unless im doing something really wrong, the Server 2022 is not working as intended, I think the main page doesnt provide the data for this OS.

PS C:\Windows\system32> Get-LatestOSBuild -OSName Server2022 -OSVersion 21H2 -LatestReleases 5

Version : Version 21H2 (OS build 19044) Servicing option : LTSC • General Availability Channel Availability date : 2021-11-22 Build : 19044.1387 KB article : KB5007253

Version : Version 21H2 (OS build 19044) Servicing option : LTSC • General Availability Channel Availability date : 2021-11-16 Build : 19044.1288 KB article :

These are the details for the OS

PS C:\Windows\system32> $CurrentBuild 20348.350

PS C:\Windows\system32> $OSVersion

Major Minor Build Revision


10 0 20348 0

that can be found here https://support.microsoft.com/en-us/topic/november-9-2021-kb5007205-os-build-20348-350-af102e6f-cc7c-4cd4-8dc2-8b08d73d2b31

CarlosAmericano avatar Dec 06 '21 16:12 CarlosAmericano

Apologies it was assumed that this was built off of the same codebase as win 10 21H2 like previous server releases (so same build numbers) however it seems that this is not the case. There is no table to query this information currently. This would mean major reworking of the code to query the page your refering too which I'd like to avoid currently. I'm going to see if I can reach out to Microsoft (social media, GitHub) to see if they will release a table on the release information page

AshleyHow avatar Dec 06 '21 19:12 AshleyHow

Raised in https://github.com/MicrosoftDocs/windowsserverdocs/issues/6107

Feedback has been passed to team responsible so hopefully it is resolved soon. I will then update the module.

AshleyHow avatar Dec 08 '21 13:12 AshleyHow

@CarlosAmericano new version released (v2112.1) to workaround this.

AshleyHow avatar Dec 09 '21 15:12 AshleyHow

@AshleyHow Thank you for that, appreciated Waiting for the main branch =)

CarlosAmericano avatar Dec 09 '21 17:12 CarlosAmericano

Dev has been merged into main.

AshleyHow avatar Dec 09 '21 17:12 AshleyHow

Server 2022 still not working due to missing function - apologies this will be fixed in 2112.2 release. Will running pester tests going forward prior to releasing to prevent this.

AshleyHow avatar Dec 18 '21 20:12 AshleyHow

Microsoft never decided to create the page so the work around will now stay permanent.

AshleyHow avatar Oct 23 '23 22:10 AshleyHow