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 $PSVersionTable in your existing PowerShell app.

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:

Method 2: Update Using the PowerShell Installer

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.

Method 3: Upgrade PowerShell Using Winget

Winget is 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.

Method 4: Update PowerShell Using Windows Update

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 to upgrade to 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.