PowerShell is one of the most powerful tools in Windows 11 — used by IT professionals, developers, and even everyday users to automate tasks and manage system configurations. However, keeping PowerShell up to date is essential to ensure compatibility, access to new features, and better security.
In this detailed guide, we’ll walk you through how to update PowerShell on Windows 11 step by step using multiple methods — from the Microsoft Store to Command Prompt, Winget, and manual downloads.
Whether you’re using the legacy Windows PowerShell 5.1 or the modern PowerShell 7 (PowerShell Core), this tutorial will help you update safely and efficiently.
🧭 Quick Overview
Method | Tool Used | Difficulty | Recommended For |
---|---|---|---|
Method 1 | Microsoft Store | ⭐ Easy | Everyday users |
Method 2 | Winget (Command Line) | ⭐⭐ Moderate | Developers |
Method 3 | Manual Download (MSI Installer) | ⭐⭐ Moderate | Offline systems |
Method 4 | PowerShell Command (Self-Update) | ⭐⭐⭐ Advanced | Power users |
Method 5 | Chocolatey | ⭐⭐⭐ Advanced | System admins |
Understanding PowerShell Versions on Windows 11
Before updating, it’s important to know which version of PowerShell you’re using.
Windows PowerShell (5.1)
-
Comes pre-installed with Windows 11.
-
Located at:
-
No longer actively developed, only maintained with security updates.
PowerShell 7 (Core)
-
Cross-platform (Windows, macOS, Linux).
-
Offers performance improvements, bug fixes, and new features.
-
Installed separately from the legacy version.
-
Located at:
💡 Tip: You can keep both versions installed. PowerShell 7 doesn’t replace Windows PowerShell 5.1.
How to Check Your Current PowerShell Version
-
Press Windows + X → select Terminal (Admin).
-
In the PowerShell window, type:
-
Press Enter.
You’ll see output like:
✅ If the major version is below 7.x, it’s time to update.
Method 1: Update PowerShell via Microsoft Store (Easiest Way)
The easiest way to install and update PowerShell in Windows 11 is directly from the Microsoft Store.
Steps:
-
Open Microsoft Store
-
Click Start → Microsoft Store, or press Windows + S and search “Microsoft Store.”
-
-
Search for PowerShell
-
In the Store’s search bar, type PowerShell.
-
-
Select PowerShell by Microsoft Corporation
-
Look for the official app published by Microsoft.
-
-
Click “Get” or “Install”
-
If it’s already installed, click Update.
-
-
Wait for Installation
-
The latest stable version of PowerShell will be downloaded and installed automatically.
-
-
Launch PowerShell
-
After installation, open it via Start → PowerShell 7 (x64).
-
✅ Result: You now have the latest version of PowerShell. The Microsoft Store version auto-updates in the background, just like regular apps.
Method 2: Update PowerShell Using Winget (Command Line)
Winget (Windows Package Manager) is one of the most efficient tools to update software — including PowerShell.
Steps:
-
Open Terminal as Administrator
-
Press Windows + X → Terminal (Admin).
-
-
Check for Existing PowerShell Versions
-
Install or Update PowerShell
-
Wait for the Update
-
Winget will automatically download and install the latest stable version.
-
-
Verify Installation
✅ Tip: The new PowerShell 7 version will install side-by-side with older versions.
Method 3: Update PowerShell Manually (MSI Installer)
If your PC doesn’t have Microsoft Store or internet restrictions apply, you can update PowerShell manually using an installer.
Steps:
-
Visit the Official PowerShell GitHub Page
-
Click “Releases”
-
You’ll see a list of all stable and preview versions.
-
-
Download the Latest MSI Installer
-
Choose the file that matches your system:
-
For 64-bit Windows →
PowerShell-x.y.z-win-x64.msi
-
For 32-bit Windows →
PowerShell-x.y.z-win-x86.msi
-
-
-
Run the Installer
-
Double-click the
.msi
file to start installation.
-
-
Follow the Setup Wizard
-
Check the box “Add PowerShell to Path Environment Variable.”
-
Optionally, select “Enable PowerShell Remoting.”
-
-
Finish Installation
-
Click Install → Finish once completed.
-
-
Verify the New Version
✅ Result: PowerShell is now updated manually to the latest version.
Method 4: Update PowerShell from PowerShell Itself
If you already have PowerShell 7+, you can update it from within the console.
Steps:
-
Open PowerShell as Administrator
-
Run the Update Command
-
Wait for Installation
-
PowerShell will fetch and install the latest stable version.
-
-
Restart Terminal
-
Close and reopen PowerShell to start using the updated version.
-
✅ Note: You can also use PowerShellGet module to install preview versions:
Method 5: Update PowerShell Using Chocolatey (For System Admins)
If you manage multiple systems, Chocolatey offers a fast and scriptable way to deploy PowerShell updates.
Steps:
-
Install Chocolatey (If Not Installed)
Run this in Command Prompt (Admin): -
Install or Update PowerShell
or update:
✅ Result: Chocolatey automates PowerShell installation and keeps it up to date across devices.
How to Set PowerShell 7 as Default in Windows 11
By default, Windows 11 still opens PowerShell 5.1. Here’s how to change it:
Steps:
-
Press Windows + I → Go to Privacy & Security → For Developers.
-
Under Terminal, choose PowerShell as the default profile.
-
Open Windows Terminal → click the down arrow (˅) → select Settings.
-
Set PowerShell 7 as your default profile.
-
Click Save and restart the Terminal.
✅ Now, when you open Terminal or press Windows + X → Terminal, PowerShell 7 will launch by default.
How to Update PowerShell Modules (Optional but Recommended)
Updating PowerShell itself is great, but don’t forget its modules.
Steps:
-
Open PowerShell as Admin.
-
Run:
If you get an error:
-
Restart PowerShell.
✅ Result: All installed modules are refreshed to the latest versions.
Verifying Your PowerShell Update
After updating, confirm the installation:
or
You should see something like:
Troubleshooting PowerShell Update Issues
Problem | Possible Cause | Solution |
---|---|---|
Command not recognized | PowerShell path not set | Reinstall with “Add to Path” checked |
Update fails | Admin rights missing | Run Terminal as Administrator |
Store version not updating | Store cache issue | Clear Microsoft Store cache with wsreset.exe |
Winget error | Old winget version | Update winget using Microsoft Store |
Version mismatch | Multiple installs | Uninstall old versions manually |
Uninstall Old PowerShell Versions
To avoid confusion, you can remove older versions:
-
Press Windows + I → Apps → Installed Apps.
-
Search PowerShell.
-
Click the three dots (⋯) → select Uninstall.
✅ Note: Do not uninstall Windows PowerShell 5.1 — it’s integrated into Windows 11.
PowerShell Update Channels
When installing from GitHub or Store, you can choose from:
Channel | Description | Best For |
---|---|---|
Stable | Fully tested, reliable | General users |
Preview | Early access to new features | Developers |
LTS (Long-Term Support) | Supported for extended periods | Enterprises |
⚠️ Use Preview versions only on non-production systems.
Why You Should Keep PowerShell Updated
-
🔒 Security Enhancements: Patches vulnerabilities and ensures safer scripting.
-
🚀 Performance Boost: Newer builds run scripts faster.
-
🧩 Compatibility: Supports updated .NET and Azure modules.
-
🧰 New Features: Updated cmdlets and better error handling.
-
🌐 Cross-Platform Support: Easier management across systems.
PowerShell Update Best Practices
Action | Frequency | Reason |
---|---|---|
Check for updates | Monthly | Stay current |
Update modules | Monthly | Ensure compatibility |
Backup scripts | Before update | Avoid version conflicts |
Test on dev environment | Before deployment | Prevent downtime |
Frequently Asked Questions (FAQ)
1. Do I need to uninstall the old version before updating?
No — PowerShell 7 installs alongside older versions, allowing you to use both.
2. Is PowerShell 7 free?
Yes, it’s 100% free and open-source.
3. How do I know if I’m using PowerShell Core?
Open PowerShell and type:
If it says Core
, you’re using PowerShell 7.
4. Will updating PowerShell affect my scripts?
Most older scripts will still work. However, test critical scripts for compatibility first.
5. Can I install PowerShell 7 on Windows 10 too?
Yes, it supports Windows 10, Windows 11, and server editions.
Conclusion: Keep PowerShell Updated for Peak Performance
Updating PowerShell in Windows 11 is quick, safe, and crucial for a smooth workflow. Whether you prefer using the Microsoft Store, Winget, or manual installers, staying current ensures better security, performance, and feature access.
By following the methods outlined in this guide, you’ll have the latest version of PowerShell 7 running in minutes — ready for automation, scripting, and system management.
✅ Key Takeaways
-
Use Microsoft Store or Winget for automatic updates.
-
Keep both Windows PowerShell 5.1 and PowerShell 7 if needed.
-
Regularly update PowerShell modules to avoid compatibility issues.
-
Always run updates as Administrator.
-
Test scripts after upgrading major versions.