How to check current installed version of PowerShell?


To determine the current installed version of PowerShell; in PowerShell type the following built in variable : $PSVersionTable.

PSVersionTable

If we use Get-Host it will just shows you the version of the host (i.e. of Console.Exe) as below:

PSGet-Host

Comments (3)

  1. low40p says:

    Nice, clean, short, usable 🙂 KUGW 🙂 BR 🙂

  2. Shoaib says:

    sort & sweet.. very helpful!!

    Thanks!

  3. Hugo Shebbeare, SQL Server MVP (2010) says:

    Thank you Sir!