One method of determining your PowerShell version is to check the Windows Registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine. Given below are other(recommended) methods of obtaining version information for your PowerShell:
PS C:\POWERSHELL> $PSversiontable
Name Value
---- -----
CLRVersion 2.0.50727.3053
BuildVersion 6.0.6002.18111
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.1
PS C:\POWERSHELL> $PSversiontable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
2 0 -1 -1
PS C:\POWERSHELL> [string]$PSVersionTable.PSVersion.Major+"."+$PSVersionTable.PSVersion.Minor
2.0
(Visited 61 times, 1 visits today)