How to Check the PowerShell Version in Windows 10

PowerShell is a powerful command-line and scripting environment developed by Microsoft, designed to help system administrators and power users automate tasks and manage configurations. Whether you are creating advanced scripts, troubleshooting issues, or running administrative commands, it is important to know which version of PowerShell you are running on your Windows 10 system. Different versions of PowerShell support different cmdlets, syntax, and features, so being aware of your current version helps you avoid compatibility issues and take full advantage of the latest functionality.

Why Knowing Your PowerShell Version Matters

There are several important reasons why checking your PowerShell version is more than just a formality:

  • Feature Availability – Newer versions of PowerShell introduce new cmdlets, parameters, and scripting capabilities that older versions do not support.
  • Security Enhancements – Microsoft regularly includes security patches and improvements in newer releases to protect your system against vulnerabilities.
  • Compatibility – Some scripts or automation tools are written specifically for a certain version of PowerShell, and running them on the wrong version may result in errors.
  • Cross-Platform Support – With the introduction of PowerShell Core (6.x and later), you can run PowerShell on macOS and Linux. Checking your version lets you know if you are using the cross-platform edition or the Windows-only edition.
  • Performance Improvements – Updates often optimize performance, allowing scripts to execute faster and consume fewer system resources.
  • Learning and Training – Tutorials and training materials often reference specific PowerShell versions, so knowing yours ensures you can follow along without confusion.

How to Check the PowerShell Version in Windows 10

Checking your PowerShell version is quick and easy. Just follow these steps:

  1. Open the Start menu and type PowerShell in the search bar.
  2. Select the Windows PowerShell app from the search results.
  3. Once the PowerShell window opens, type the following command and press Enter:$PSVersionTable.PSVersion
  4. The system will display the version information, including Major, Minor, Build, and Revision numbers.

For example, you might see:

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  2364

In this case, the installed PowerShell version is 5.1.19041.2364.

Understanding the Version Numbers

The PowerShell version format follows a Major.Minor.Build.Revision pattern. Here’s what each part means:

  • Major – Indicates a major release of PowerShell, often introducing significant new features or architectural changes.
  • Minor – Represents smaller feature updates and enhancements.
  • Build – Identifies the build number of the release, often tied to specific Windows updates.
  • Revision – Used for minor fixes, security patches, or incremental improvements.

For example, in version 5.1.19041.2364, the major version is 5, the minor version is 1, the build is 19041, and the revision is 2364.

Different Versions of PowerShell

PowerShell comes in two main types:

  • Windows PowerShell – The original edition included with Windows, based on the .NET Framework. Latest stable version is 5.1.
  • PowerShell Core / PowerShell 7+ – The newer, cross-platform version built on .NET Core (now .NET 6+), works on Windows, macOS, and Linux. Latest stable version as of now is PowerShell 7.4.

To check whether you are using Windows PowerShell or PowerShell 7+, look at the title bar of the console window or run the $PSVersionTable command and check the PSEdition value.

How to Update PowerShell

If you discover that your version is outdated, updating can unlock new capabilities and ensure security patches are in place. Here’s how to update:

  1. Windows PowerShell 5.1 – Updates come through regular Windows Updates. Ensure you have the latest Windows 10 updates installed.
  2. PowerShell 7+ – You can download the latest release from the official Microsoft GitHub repository:
    PowerShell GitHub Releases.
  3. Use the Microsoft Store on Windows 10 or later to install and receive automatic updates for PowerShell 7.

Common Problems and Troubleshooting

Sometimes, checking the PowerShell version or running commands may fail due to system restrictions or configuration issues. Here are some common problems and solutions:

  • Access Denied – Make sure you run PowerShell as Administrator by right-clicking and selecting Run as administrator.
  • Execution Policy Restrictions – If you cannot run scripts, check the execution policy by running Get-ExecutionPolicy and change it using Set-ExecutionPolicy RemoteSigned if necessary.
  • Missing PowerShell – If PowerShell is not opening, it may have been disabled by Group Policy or corrupted. Re-enable it or reinstall.
  • Version Mismatch – Ensure you are running the correct edition of PowerShell for your needs (Windows PowerShell vs. PowerShell Core).

PowerShell Version History Overview

Version Release Year Major Changes Supported Platforms
1.0 2006 First release, basic scripting capabilities Windows XP/Server 2003
2.0 2009 Remote management, new cmdlets Windows 7/Server 2008 R2
5.1 2016 Final Windows PowerShell release, enhanced security Windows 7–10, Server editions
7.4 2023 Latest PowerShell Core features, cross-platform Windows, macOS, Linux

Additional Resources

If you want to learn more about PowerShell versions and usage, check these authoritative resources:

By following the steps above, you can quickly check your current PowerShell version, understand its features, and decide whether an update is needed. Keeping your PowerShell environment up to date ensures you have the best security, performance, and compatibility for your automation and administrative tasks.