How do I see Windows version in PowerShell?
How do I see Windows version in PowerShell? To get the Windows version number, as Jeff notes in his answer, use: [Environment]::OSVersion. Use WMI’s Win32_OperatingSystem class (always single instance), for example: (Get-WmiObject -class Win32_OperatingSystem).Caption. What version of PowerShell do I have Windows 10? On the initial release of Windows 10, Read more…