I mostly use the variable $host
The result is not a sigle value, but such I get by
Again not a single value. The major version is what I mostly need
Actually $Host return the same as Get-Host.
Another usefull variable is $PSVersionTable. It gives a collection of objects
The funny part is when you access the PSVersion element
TryMe> $PSVersionTable.PSVersionYou get the same result as from $Host.Version.