PowerTip: Find What Version of PowerShell You Have


Summary: Easily find what version of Windows PowerShell you are running.

Hey, Scripting Guy! Question I upgraded to Windows 10, but how can I confirm what version of Windows PowerShell I am running?

Hey, Scripting Guy! Answer Use the $psversiontable automatic variable.

Comments (3)

  1. AllanM says:

    Also Get-Host, and specifically (get-host).version

  2. Ed Wilson says:

    @AllanM that is right 🙂

  3. Thomas Franke says:

    Err… nope! Get-Host will return the version of the host you use to connect to the PowerShell engine, not the version of the PowerShell. Depending on the host, the version can be the same… or not!

    Check this post for Details:
    http://www.thomas-franke.net/managing-powershell-version-issues/

Skip to main content