Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Revision Number is missing #114

Open
jlgandy2 opened this issue Nov 27, 2018 · 3 comments
Open

Windows Revision Number is missing #114

jlgandy2 opened this issue Nov 27, 2018 · 3 comments

Comments

@jlgandy2
Copy link

systeminfo.txt does not include the Revision Number.
OS Name: Microsoft Windows Server 2016 Datacenter
OS Version: 10.0.14393 N/A Build 14393

This script pulls the Major Minor Build Revision. This is very useful when determining if the latest OS Build has been applied.
#Check Windows Build Information
$WinVer = New-Object -TypeName PSObject
$WinVer | Add-Member -MemberType NoteProperty -Name Major -Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' CurrentMajorVersionNumber).CurrentMajorVersionNumber
$WinVer | Add-Member -MemberType NoteProperty -Name Minor -Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' CurrentMinorVersionNumber).CurrentMinorVersionNumber
$WinVer | Add-Member -MemberType NoteProperty -Name Build -Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' CurrentBuild).CurrentBuild
$WinVer | Add-Member -MemberType NoteProperty -Name Revision -Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' UBR).UBR
$WinVer

Major Minor Build Revision


10 0 14393 2580

@jlgandy2
Copy link
Author

jlgandy2 commented Mar 6, 2019

#123 would also resolve this request.

@jlgandy2
Copy link
Author

jlgandy2 commented May 6, 2019

Any update on this?

@jlgandy2
Copy link
Author

Its been a long time guys. Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant