How to Upgrade Windows PowerShell

Sep. 2, 2024



If you’re a developer or power user, you probably use Windows PowerShell a lot. For those unaware, PowerShell and Command Prompt are used to execute and use advanced Windows features and development, with PowerShell being a superior command-line software compared to CMD. Microsoft keeps adding new features to PowerShell, so if you haven’t updated the same for a while, here’s how to upgrade Windows PowerShell.

It’s worth noting that PowerShell, until version 5.1, was automatically updated by Windows updates. However, the new version 7.x is no longer handled by Windows updates and needs manual updating. Regardless of the version, you can follow the steps below to update/install the latest version of PowerShell. To check your PowerShell’s version, enter the command$PSVersionTablein your existing PowerShell app.

Method 1: Upgrade PowerShell Using the Microsoft Store

Method 1: Upgrade PowerShell Using the Microsoft Store

We often sideline Microsoft Store because we’re so used to installing EXE files from the internet. Microsoft Store can help you update the PowerShell swiftly, and here’s how:

Did you know that the new PowerShell 7.x is open source? Regardless, its installer is available on both the official PowerShell website and GitHub. Here’s how to update to the latest Windows PowerShell using the installer.

Wingetis a package manager and the APT or DNF equivalent on Windows. It works pretty well and can be used to download new packages/apps or update the existing ones. Here’s how to use it to update Windows PowerShell.

This only applies to older versions of Windows and PowerShell. If you’re using an old Windows, your PowerShell version will also be old, and you’ll need toupgradeto the latest Windows version to have the latest PowerShell version.

And those are the methods you can use to upgrade PowerShell on Windows. The first two are by far the easiest ways to update it quickly. Were you able to upgrade PowerShell by following the steps? Let us know in the comments.