• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended

how do i upgrade to the latest powershell

1 REPLY 1
HP Recommended

@kat384,

 

Welcome to our HP Community forum!

 

Assuming you got Windows as your OS:

 

What "latest PowerShell" Means:

 

  • Windows PowerShell (built-in) — version 5.1 on Windows 10/11; this cannot be upgraded via Windows Update to a newer major version.

  • PowerShell (cross-platform, formerly "PowerShell Core") — upgradable independently; latest versions are PowerShell 7.x (and beyond).

So, when you ask about the "latest PowerShell", you likely mean PowerShell 7.x.

 

Anyway, How to Upgrade to the Latest PowerShell (Windows!):

 

Option 1 — Install via the Official Installer (GUI):

 

  1. Go to the official PowerShell releases page: Releases · PowerShell/PowerShell.

  2. Find the latest stable release (such as: PowerShell-7.xy-win-x64.msi).

  3. Download the MSI.

  4. Double-click to run the installer.

  5. Follow the wizard — typical defaults are fine.

After installation, you'll have a new app:

  • PowerShell 7 (a separate app from Windows PowerShell)

  • Launch it from the Start Menu

 

Option 2 - Install/Upgrade via Winget (Windows Package Manager):

 

If you have winget available (Windows 10/11), this is the fastest method:

  1. Open Windows Terminal or Command Prompt as Administrator

  2. Run: 

winget install --id Microsoft.PowerShell --source winget --accept-source-agreements --accept-package-agreements

 

If it's already installed, this will update it.

 

Option 3 - Install via the Microsoft Store:

 

  1. Open Microsoft Store

  2. Search for PowerShell

  3. Choose the official PowerShell app

  4. Click Get / Install / Update

 

This keeps PowerShell up to date automatically via the Store.

 

Confirming the Installed Version:

 

After installation, open PowerShell 7 and run:

$PSVersionTable.PSVersion
 

The output will show the version — such as: 7.4.2.

 

Important Notes:

 

  • Windows PowerShell 5.1 stays on the system; installing the latest PowerShell 7 does not replace it.

  • PowerShell 7 is backward-compatible with most scripts, but some modules that rely on Windows PowerShell may behave differently.

  • You can have both versions side-by-side.

 

Hope this was helpful.

 

Kind Regards,

 

NonSequitur777


† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.