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 Windows 8 and Windows 7 Resources
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.

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 - 2020 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems