From command prompt type to launch a GUI screen showing version information...
winver
For more detailed information use...
systeminfo
Get-ComputerInfo | Select-Object WindowsProductName, WindowsVersion, OsHardwareAbstractionLayerVersion
[System.Environment]::OSVersion.Version
Get-ItemProperty "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion")
Get-CimInstance Win32_OperatingSystem
Invoke-Command -ComputerName mycomputer -ScriptBlock {
[System.Environment]::OSVersion.Version.Major
}
Invoke-Command -ComputerName mycomputer -ScriptBlock {
[System.Environment]::OSVersion.Version
}
Invoke-Command -ComputerName mycomputer -ScriptBlock {
Get-WmiObject Win32_OperatingSystem
}