Summary: Easily find the installed version of Windows PowerShell.
How can I find the installed version of Windows PowerShell?
There are two easy ways.
1. Use the automatic $PSVersionTable variable:
PS C:> $PSVersionTable
Name Value
—- —–
PSVersion 3.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.18033
BuildVersion 6.2.9200.16434
PSCompatibleVersions {1.0, 2.0, 3.0}
PSRemotingProtocolVersion 2.2
2. Use the $host automatic variable and to select the Version property:
PS C:> $Host.Version
Major Minor Build Revision
—– —– —– ——–
3 0 -1 -1
0 comments