PDF download Download Article
Learn to display your current PowerShell version with this short guide
PDF download Download Article

It's easy to find out which version of PowerShell you are using on Windows 10 and 11. You can check the version by running simple commands, using the registry, or by signing in remotely. This wikiHow article will show you how to check your PowerShell version and teach you how to upgrade PowerShell to the latest version.

Quick Steps

  1. Open PowerShell.
  2. Type $PSVersionTable and press Enter .
  3. Find the PowerShell version next to "PSVersion."
Section 1 of 4:

Using a PowerShell Command

PDF download Download Article
  1. There are multiple ways that you can run PowerShell :
    • Press the Win key and search for PowerShell , and then click the system result.
    • Press Win + X to open a menu and click PowerShell . However, you can change "PowerShell" here to "Command Prompt," so this method may not work for you.
    • This is the easiest and fastest method to find your PowerShell version.
  2. Pressing Enter sends the command.
    Advertisement
  3. It's next to "PSVersion".
    • Version 5.1 is the last supported Microsoft version, so that's most likely what your updated computer has.
    • You can also use the commands get-host and $host.version , but those are less likely to give accurate answers. Use the $PSVersionTable command for the best results.
  4. Advertisement
Section 2 of 4:

Using the Registry

PDF download Download Article
  1. Press the Win key, type regedit , and click the app result.
  2. You can enter that into the address bar or navigate the different folders.
  3. Look for subfolders that indicate your version of PowerShell.
    • For example, PowerShell 5 is in PowerShell\3\PowerShellEngine .
    • PowerShell 7 is in PowerShellCore\InstalledVersions\31ab5147-9a97-4452-8443-d9709f0516e1 .
  4. Advertisement
Section 3 of 4:

Logging In Remotely

PDF download Download Article
  1. You need to do this so the computer will let you use PowerShell remotely.
  2. Invoke-Command -ComputerName TESTCOMPUTERNAME -ScriptBlock {$PSVersionTable.PSVersion} -Credential $cred .
    • Substitute the name of the computer where you see "TESTCOMPUTERNAME." [1]
  3. It's next to "PSVersion".
  4. Advertisement
Section 4 of 4:

How to Upgrade PowerShell

PDF download Download Article
  1. By updating Windows , you'll also update your PowerShell version if you have an out-of-date one.
    • This method will not update you to PowerShell 7. To get that version, you can find it in Github where you can download the version for your OS. [2]

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 7,606 times.

      Is this article up to date?

      Advertisement