How to Check PowerShell Version in Windows 10/11?
Anupam Harsh
Posted on September 24, 2024
To check your PowerShell version on Windows 10/11, open a PowerShell window, type the command $PSVersionTable
, and look for the PSVersion field
.
Introduction
Checking your PowerShell version on Windows 10/11 is easy. We will find the version of PowerShell in Windows 10/11 using multiple methods like PowerShell, control panel, and registry editor. If one does not work, you can always follow the next method.
But before we move ahead, you can take an overview of Powershell
PowerShell in Brief:
PowerShell is an open-source and automated engine tool. It has helped the developer in automating their tasks. Besides its clean Graphic User Interface, it has a perfect Command Line Interface. It helps the developers and IT admins to convey the commands to the Operating System by conveying commands.
Method 1: PowerShell Console
For the first method, we will use PowerShell itself to find its version.
Step 1: Press Windows + S
and type PowerShell.
The screenshot attached below will help you to identify how it looks.
Step 3: Type $PSVersionTable
, press Enter
, and then look for PSVersion
.
$PSVersionTable
is a PowerShell automatic variable that provides information about the current session of PowerShell and includes details such as the version, build, etc.
We can use $PSVersionTable.PSVersion
to get a more detailed representation of the PowerShell version.
Method 2: Get the Local PowerShell version
Note: This method works only for local PowerShell instances and not for remote PowerShell sessions.
Step 1: Press Windows + S
–> Type PowerShell
and click on open.
Step 2: Type Get-Host
, press ENTER, and look for Version
Other PowerShell commands like $host
will give the same result.
These variables are automatically created when we start an instance of PowerShell.
Method 3: Use File Explorer to get the PowerShell File Version
Step 1: Press Windows + e
. It will open the File Explorer.
Step 2: Right-click on the top Address bar and paste C:\Windows\System32\WindowsPowerShell\v1.0
and press ENTER.
This will open the directory where the PowerShell.exe file is located. This PowerShell.exe is an executable file for PowerShell CLI(Command Line Interface) that launches a PowerShell session.
Step 3: Locate the file PowerShell.exe
in the directory and right-click on it.
It will open a new box. In the new box click on Properties
.
It will open a box displaying the properties of PowerShell.exe.
Step 4: Click on the Details
tab.
Step 5: Look for File Version
This depicts the version of PowerShell installed on our system.
Method 4: Use Registry Editor to get PowerShell Version
Registry editor is a utility that helps us view and change system-level information on Windows. We’ll now use it to view the version of PowerShell installed on our computer.
Step 1: Press Windows + s
, type reged
and click on Open
.
It will open the graphical interface for the registry editor. If you get any pop-up asking for some permission, allow it.
Step 2: Click on the address bar and paste Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
.
It will open the location where configuration and settings related to PowerShell are stored inside the registry.
Step 3: Look for PowerShell Version
.
Conclusion
With this, we have covered the most basic and working methods that would help you to find the PowerShell version on your computer.
Posted on September 24, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.