![]() ![]() A bit of code from a Reddit user provides an adequate replacement that includes the UBR from the registry as the Revision number: $WinVer = New-Object -TypeName PSObject Returns Major, Minor, and Build the same as the registry key, but it always seems to report Revision as 0. However, the UBR (Update Build Revision) does change with certain updates as indicated in Microsoft's release list. The build changes when the Version (like 1607) changes or when Insider builds are installed. ![]() The following values in that key correspond to the information displayed by the winver.exe program: ReleaseID = Version (name based on year/month of release: 1507, 1511, 1607, 1703, etc.)ĬurrentBuild or CurrentBuildNumber = OS Build (part before period)Īdditionally, the version numbers are in these two values from that registry key: CurrentMajorVersionNumber = 10 As stated in other comments, this information is visible in the registry under this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion WMI does not currently have properties that can be used to completely identify the Windows 10 version (like 1607) or full build number (like 3.577).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |