SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Microsoft Windows Tools, Applications, Tutorials, Tips and Tricks for Windows Users


How to Check Windows PowerShell Version Installed on a Computer

In order to check Windows PowerShell version installed on a computer, users can check the value of $PSVersionTable built-in variable.
If you print $PSVersionTable variable value on a Windows PowerShell screen, you can see the installed version of Windows PowerShell.

Here is a Windows 7 screen view of a Windows PowerShell 2.0 is installed.

how to check installed PowerShell version





Another method is reading the RuntimeVersion or PowerShellVersion registry key value for installed Windows PowerShell version.
Open Windows 7 Registry Editor by typing and executing RegEdit in Run command. Then please check the PowerShellVersion registry key using the following path :
HKEY_LOCAL_MACHINE > Software > Microsoft > PowerShell > 1 > PowerShellEngine > PowerShellVersion

check PowerShell version using registry




Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.