PowerShell is an advanced form of command prompt. It is extended with a huge set of ready-to-use cmdlets and comes with the ability to use .NET framework/C# in various scenarios. Windows includes a GUI tool, PowerShell ISE, which allows editing and debugging scripts in a useful way. Here is how to find the PowerShell version number in Windows 10, Windows 8 and Windows 7.
PowerShell v1 & v2
PowerShell was initially released in November 2006 for Windows XP SP2, Windows Server 2003 SP1 and Windows Vista. Its second version comes bundled with Windows 7 and Windows Server 2008 R2. Also, PowerShell 2.0 is released as a standalone package for Windows XP SP3, Windows Server 2003 SP2, and Windows Vista SP1.
PowerShell v3
With the release of Windows 8, Microsoft shipped PowerShell 3.0, that can also be installed for Windows 7 SP1, for Windows Server 2008 SP1, and for Windows Server 2008 R2 SP1. PowerShell 3.0 doesn’t support Windows XP.
PowerShell v4
A successor of Windows 8, Windows 8.1, comes with PowerShell 4.0. It is also available for Windows 7 SP1, for Windows Server 2008 SP1, and for Windows Server 2008 R2 SP1.
PowerShell v5
PowerShell 5.0 is part of Windows Management Framework (WMF) 5.0. Its final version was out on February 24, 2016. This version features OneGet PowerShell cmdlets to support Chocolatey’s repository-based apps and the ability to manage layer 2 network switches.
PowerShell 5.1 was released along with Windows 10 Anniversary Update. It became available for Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2 users on January 19, 2017. PowerShell 5.1 introduced editions to the app. The Core edition is bundled with Windows Server 2016 Nano Server, while the Desktop edition targets traditional versions of consumer and server editions of the OS.
PowerShell v6
Microsoft first announced PowerShell Core on 18 August 2016, along with their decision to make the product cross-platform, independent of Windows, free and open source. It was released on 10 January 2018 to Windows, macOS and Linux users. Now it has its own support lifecycle. Microsoft plans to release one minor version for PowerShell Core 6.0 every six months. PowerShell Core 6.1 was released on 13 September 2018.
If you are curious to know which exact version is installed on your Windows PC, follow the instructions below.
To find the PowerShell version in Windows,
- Open PowerShell.Tip: You can add “Open PowerShell As Administrator” context menu.
- Type or copy-paste the following command:
Get-Host | Select-Object Version
. - In the output, you will see the version of PowerShell.
- Alternatively, type
$PSVersionTable
and hit the Enter key. - See the
PSVersion
line.
Here are screenshots: