Need to know just the release version of a Windows 10 computer (or set of computers)? The best method is to pull the information from the Windows registry. Use the following PowerShell script. The output will display the four-digit ID such as 1506, 1703, or 1710, etc.
(Get-ItemProperty -Path ‘HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion’).ReleaseId
Alternatively, you can also Retrieve the Major, Minor, Build, and Revision.
Looking for an awesome, no-nonsense technical conference for IT Pros, Developers, and DevOps? IT/Dev Connections kicks off in Dallas, Texas in 2018!