This article was reviewed by Luigi Oppido and by wikiHow staff writer, Darlene Antonelli, MA. Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 8,312 times.
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
- Open PowerShell.
- Type $PSVersionTable and press Enter.
- Find the PowerShell version next to "PSVersion."
Steps
Using a PowerShell Command
-
Open PowerShell. 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.
-
Type $PSVersionTable into PowerShell and press ↵ Enter. Pressing Enter sends the command.Advertisement
-
Look for your PowerShell version number. 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.
Using the Registry
-
Open Registry Editor. Press the Win key, type regedit, and click the app result.
-
Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft. You can enter that into the address bar or navigate the different folders.
-
Check your version of PowerShell. 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.
Logging In Remotely
-
Run winrm quickconfig on the remote computer as an Administrator. You need to do this so the computer will let you use PowerShell remotely.
- You will only be able to use this method if Windows Management Framework is running.
-
Type the following command and press ↵ Enter: Invoke-Command -ComputerName TESTCOMPUTERNAME -ScriptBlock {$PSVersionTable.PSVersion} -Credential $cred.
- Substitute the name of the computer where you see "TESTCOMPUTERNAME."[1]
-
Look for the PowerShell version number. It's next to "PSVersion".