Get Powershell version

12/11/2012 08:50

$host

#or

$host.Version

#or

$PSVersionTable

Name Value

---- -----

WSManStackVersion 3.0

PSCompatibleVersions {1.0, 2.0, 3.0}

SerializationVersion 1.1.0.1

BuildVersion 6.2.9200.16398

PSVersion 3.0

CLRVersion 4.0.30319.296

PSRemotingProtocolVersion 2.2