In this article, I mentioned how to check Installed Powershell version using various possible commands.

Using $PSversionTable

Step 1: Press Windows key + R to open up a Run command. Then, type "powershell" and press Enter to open a new PowerShell prompt.

Step 2: Enter command '$PSversionTable' and press "Enter" then you will see your version name in row "PSVersion"

check-powershell-version-min

From the above image, as you can see my powershell version is 7.2.5

Using Get-Host

We will again open Powershell as mentioned in above procedure and instead of '$PSversionTable' write command 'Get-Host' and press 'Enter', which will give you below details

Name             : ConsoleHost
Version          : 7.2.5 
InstanceId       : 08b5917e-e5f6-4ab9-83d2-4f0a867a8d8c
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-IN
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Using Command Prompt

You can also use CMD or Command prompt to check powershell version by calling powershell externally, just open and run Command prompt in your windows using below command:

powershell -Command "$PSVersionTable.PSVersion"

Output:

powershell-version-using-command-prompt-cmd

Powershell version installed in Windows, by default

By Default These are the powershell version installed in Windows

Windows Version Powershell Version
Windows 11 5.0
Windows 10 4.0
Windows 8 Windows 8
Windows Server 2012
Windows 7
Windows Server 2008 R2
PowerShell 2.0

That's it, hope it helps.