How to Check PowerShell Version in Windows 10/11

Key Takeaways

The quickest way to check the version of PowerShell that you are using on Windows 10 is to open a PowerShell Window. Here you need to type a command – $PSVersionTable. The current PowerShell version will appear next to “PSVersion.”

What is PowerShell?

PowerShell is a task automation solution introduced by Microsoft in 2006. It runs on multiple platforms and is part of the .NET framework. It constitutes a command line shell, scripting language and configuration management software. It works on all three operating systems, i.e. Windows, Linux and macOS.

PowerShell seamlessly integrates with widely-used technologies such as Azure, Exchange, SQL, and also extends its compatibility to third-party services like AWS, VMWare, Google Cloud, and more.

It facilitates the automation of administrative functions and management system configurations. It lets users write scripts, automate repetitive tasks and also perform system administration.

How to Check PowerShell Version in Windows 10/11.

You must be wondering why you need to check the PowerShell version of your Windows. Well, the answer is quite simple, when you know the version of PowerShell, you will get an idea of what features you can access. Come and let us explore the different methods of checking it.

Method 1: Using the PowerShell Console

Step1: In this method, you need to Press the Windows key and type ‘PowerShell’ on the search tab.

SS1

 

Step2: Select the PowerShell option

SS2

Step3: As you Select the option a “Command Prompt” or “Windows Terminal” will open up.

SS3

Step4: Here you need to type – $PSVersionTable

SS4

Step 5: After you type the said command, you need to press enter, and the version of PowerShell will appear, like this.

SS5

Method 2: Using the $Host variable

The $host variable is automatically set when you open PowerShell. So, here we need to do is query the version.

Note: For this method, you need to repeat the steps 1-3

Step 4: Once again, open up PowerShell, then type – $host.version

SS6

Step 5: Now you need to press enter to see the version of PowerShell

SS7

Method 3: Using Windows Registry

Step 1: You can also check your PowerShell version from the Windows registry. First, open up the Start Menu, then search for and launch “Regedit.”

SS8

Step 2: In this step, you need to navigate to the following location, or paste it into the Registry Editor’s address bar.

Location: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft

SS9

Step 3: As you double click on the PowerShell to expand it. Now, two folders will appear. Here you need to double-click on the ‘3’ folder and as it expands, you will see an option PowerShell Engine. So, double click on it to see the PowerShell Version.

SS10

Final Words

By using these methods, you can easily determine the PowerShell version on your Windows 10 or 11 system. When you are familiar with multiple methods to check PowerShell versions, it enhances your ability to work efficiently with scripts and ensures compatibility across different environments.

Leave a Reply

Your email address will not be published. Required fields are marked *