freeCodeCamp/guide/english/powershell/powershell-version/index.md

727 B

title
PowerShell Version

Displaying PowerShell Version Details

Usage

There are times when determining the version of the current installation of PowerShell is necessary. In order to view this information, the following command can be run to show the variable details.

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17134.228
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.228
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1