How to Check PowerShell Version in Windows 10
But, know the fact, that different Windows versions have PowerShell versions as listed below.
How to Check PowerShell Version in Windows 10Method 1: Use $PSVersionTable CommandMethod 2: Use $PSVersionTable. PSVersion CommandMethod 3: Use $Host CommandMethod 4: Use $Host. Version Command
Windows 10 & Windows Server 2016 – PowerShell version is 5. 0 ( Yet, it will be updated to 5. 1 after a Windows update) Windows 8. 1 & Windows Server 2012 R2 – PowerShell version 4. 0 Windows 8 & Windows Server 2012 – PowerShell version 3. 0 Windows7 SP1 & Windows Server 2008 R2 SP1 – PowerShell version 2. 0
In this quick guide, you will learn PowerShell version check commands that can be followed irrespective of the Windows version you use.
Method 1: Use $PSVersionTable Command
When you use the $PSVersionTable command in PowerShell prompt, you can check the PowerShell version in the PSVersion line of the output.
Hit the Windows key and type PowerShell. Then, click on Open.
Now, type $PSVersionTable command and hit the Enter key.
You can check the version in PSVersion line of output as highlighted below. In this case, the PowerShell version is 5.1.19041.1645.
Also Read: How to Delete Folders and Subfolders in PowerShell
Method 2: Use $PSVersionTable.PSVersion Command
You can also check the PowerShell version, major, build, and revision history of your PowerShell by using $PSVersionTable.PSVersion command.
Launch the Windows PowerShell.
Now, type $PSVersionTable.PSVersion command and press the Enter key.
The output will be in the following format. Here, the Major property indicates the PowerShell version.
Also Read: Fix Command Prompt Appears then Disappears on Windows 10
Method 3: Use $Host Command
When you the use $Host command in the PowerShell window, you can check the PowerShell version in the Version line of the output.
Navigate to the Windows PowerShell window.
Now, type $Host command and hit Enter key.
You can check the PowerShell version in the Version line of the Output. The output for this command will be in the following format.
Also Read: 7 Ways to Open Elevated Windows PowerShell in Windows 10
Method 4: Use $Host.Version Command
You can also check the PowerShell version, major, build, and PowerShell version history by using $Host.Version command.
Launch the Windows PowerShell.
Now, type $Host.Version command in the PowerShell window and hit Enter key.
The output will be in the following format. Here, the Major property indicates the PowerShell version.
Recommended:
Fix Error Code 0x80d0000a in Windows 10 Fix Chrome Errors While Searching for Harmful Software Fix Desktop Window Manager Stopped Working How to Fix We’re Sorry But Word Has Run into an Error in Windows 10
We hope that this guide was helpful and you have learned how to check PowerShell version on your Windows PC. Let us know which method worked for you the best. Also, if you have any queries/suggestions regarding this article, then feel free to drop them in the comments section.