How to Check the PowerShell Version on Windows 11

Last Updated: Feb 8, 2024 by

PowerShell is a powerful command-line tool that allows users to automate tasks and manage system configurations on Windows operating systems. With the release of Windows 11, many users may be wondering how to check the version of PowerShell they have installed on their system.

In this article, we will discuss how to check the PowerShell version on Windows 11 and provide some useful tips for managing and updating your PowerShell version.

Why Is It Important to Know Your PowerShell Version?

Knowing your PowerShell version is important for several reasons. First, different versions of PowerShell may have different features and capabilities, so knowing which version you have can help you determine what you can and cannot do with the tool.

Additionally, some scripts and commands may only work with specific versions of PowerShell, so knowing your version can help you troubleshoot any issues you may encounter.

PowerShell Version History

PowerShell was first introduced in 2006 and has since undergone several updates and releases. Here is a brief overview of the different versions of PowerShell:

  • PowerShell 1.0: Released in 2006, this was the first version of PowerShell and was included with Windows Vista and Windows Server 2008.
  • PowerShell 2.0: Released in 2009, this version introduced several new features, including the ability to run remote commands and manage remote systems.
  • PowerShell 3.0: Released in 2012, this version introduced new features such as workflows and improved support for remote management.
  • PowerShell 4.0: Released in 2013, this version introduced new features such as Desired State Configuration (DSC) and improved debugging capabilities.
  • PowerShell 5.0: Released in 2016, this version introduced new features such as classes and improved security.
  • PowerShell 5.1: Released in 2016, this version was included with Windows 10 and Windows Server 2016 and introduced new features such as PowerShellGet and PackageManagement.
  • PowerShell 6.0: Released in 2018, this version was a cross-platform release and was the first version of PowerShell to be available on Linux and macOS.
  • PowerShell 7.0: Released in 2020, this version was also a cross-platform release and introduced new features such as pipeline parallelization and new operators.
  • PowerShell 7.1: Released in 2020, this version introduced new features such as the ability to run scripts in parallel and improved performance.

How to Check Your PowerShell Version on Windows 11

There are several ways to check your PowerShell version on Windows 11. Here are three methods you can use:

Method 1: Using the PowerShell Command Line

The simplest way to check your PowerShell version is to use the PowerShell command line. Here’s how:

  1. Open the Start menu and type “PowerShell”.
  2. Click on “Windows PowerShell” to open the command line.
  3. Type the following command and press Enter:

$PSVersionTable.PSVersion

This will display the version of PowerShell you have installed on your system.

Method 2: Using the Get-Host Command

Another way to check your PowerShell version is to use the Get-Host command. Here’s how:

  1. Open the Start menu and type “PowerShell”.
  2. Click on “Windows PowerShell” to open the command line.
  3. Type the following command and press Enter:

Get-Host | Select-Object Version

This will display the version of PowerShell you have installed on your system.

Method 3: Using the File Properties

You can also check your PowerShell version by viewing the properties of the PowerShell executable file. Here’s how:

  1. Open File Explorer and navigate to the following location:

C:\Windows\System32\WindowsPowerShell\v1.0

  1. Right-click on the “powershell.exe” file and select “Properties”.
  2. Click on the “Details” tab.
  3. Under “Product version”, you will see the version of PowerShell you have installed on your system.

How to Update Your PowerShell Version on Windows 11

If you have an older version of PowerShell and want to update to the latest version, here’s how:

  1. Open the Start menu and type “PowerShell”.
  2. Click on “Windows PowerShell” to open the command line.
  3. Type the following command and press Enter:

iex “& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI”

This will download and install the latest version of PowerShell on your system.

Tips for Managing Your PowerShell Version

Here are some useful tips for managing your PowerShell version on Windows 11:

Use the Latest Version

It is always recommended to use the latest version of PowerShell to take advantage of the latest features and improvements. You can check for updates by running the following command in the PowerShell command line:

Update-Help

Use the Appropriate Version for Your System

When downloading and installing PowerShell, make sure to choose the appropriate version for your system. For example, if you are running a 64-bit version of Windows, make sure to download and install the 64-bit version of PowerShell.

Consider Using PowerShell Core

PowerShell Core is the cross-platform version of PowerShell and is available for Windows, Linux, and macOS. If you need to manage systems on different operating systems, consider using PowerShell Core for a consistent experience.

Use PowerShellGet to Manage Modules

PowerShellGet is a module that allows you to discover, install, and manage PowerShell modules. It is included with PowerShell 5.1 and later versions and can be used to easily install and update modules from the PowerShell Gallery.

Conclusion

Knowing your PowerShell version is important for managing and troubleshooting tasks on your Windows 11 system. By following the methods outlined in this article, you can easily check your PowerShell version and update to the latest version if needed. Additionally, by following the tips provided, you can effectively manage your PowerShell version and take advantage of its powerful capabilities.

Gulrukh Ch

About the Author: Gulrukh Ch

Gulrukh Chaudhary, an accomplished digital marketer and technology writer with a passion for exploring the frontiers of innovation. Armed with a Master's degree in Information Technology, Gulrukh seamlessly blends her technical prowess with her creative flair, resulting in captivating insights into the world of emerging technologies. Discover more about her on her LinkedIn profile.