You can check installed PowerShell version in three ways. Check out the commands below:
PS C:\> $PSVersionTable
Name Value
—- —–
PSVersion 5.0.10130.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.42000
BuildVersion 10.0.10130.0
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
PS C:\> $Host.Version
Major Minor Build Revision
—– —– —– ——–
5 0 10130 0
PS C:\> (Get-Host).Version
Major Minor Build Revision
—– —– —– ——–
5 0 10130 0