How to Update PowerShell on Windows 11

By
Bhanu Pratap
He is a die-hard fan of tech and keeps track of every little happening in the field. When he is not writing, he usually keeps himself...
3 Min Read
Disclosure: This site uses affiliate links. We may earn a commission at no extra cost to you. Thanks for your support!
How to Update PowerShell on Windows 11

PowerShell is a powerful command-line shell and scripting language designed for system management and automation. While Windows 11 comes with PowerShell preinstalled, it’s important to keep it updated to the latest version to access new features, bug fixes, and security improvements.

In this guide, we’ll walk you through the steps to update PowerShell on Windows 11, ensuring a seamless experience.

Why Update PowerShell?

Updating PowerShell provides several benefits, including:

  • Access to New Features: Each release introduces enhancements that improve scripting and system management.
  • Improved Security: Updates address vulnerabilities, keeping your system safe.
  • Compatibility: The latest version ensures better compatibility with modern systems and scripts.

How to Check Your Current PowerShell Version

Before updating, it’s helpful to know the version you’re currently running. Follow these steps to know your current PowerShell version:

1. Open PowerShell by searching for it in the Start menu.

2. Type the following command and press Enter. The output will display your current PowerShell version.

$PSVersionTable.PSVersion
Check PowerShell Update

Updating PowerShell on Windows 11

Here are three effect methods to update PowerShell on Windows 11.

1. Update via Windows Store

PowerShell is available on the Microsoft Store, making updates straightforward.

1. Open the Microsoft Store from the Start menu.

2. Search for PowerShell in the Store’s search bar.

3. If an update is available, you’ll see an Update button. Click it to install the latest version.

PowerShell Update

2. Update via PowerShell

For those who prefer command-line methods, follow these steps to update PowerShell:

1. Open PowerShell as an administrator.

2. Use the following command to install the latest PowerShell version:

winget update microsoft.powershell
Update PowserShell

3. Once installed, restart your system to apply the changes. Once done, you should have the updated version or a new version of PowerShell installed.

3. Update Using GitHub Releases

Microsoft releases new PowerShell versions on GitHub. Here’s how to manually update:

1. Visit the PowerShell GitHub Releases page.

2. Download the latest version compatible with Windows 11 (usually an MSI package).

3. Run the downloaded installer and follow the on-screen instructions. Click on Next for the subsequent prompts to proceed.

PowerShell Setup Wizard

4. Finally, click on the Install button.

Install PowerShell Update

5. Restart your computer after installation.

6. After updating, confirm that you have the latest version installed. Rungin this command $PSVersionTable.PSVersion on PowerShell.

Conclusion

Updating PowerShell on Windows 11 is essential for leveraging its full potential in system management and scripting. Whether you use the Microsoft Store, command-line tools, or manual downloads from GitHub, keeping your PowerShell updated ensures you stay ahead with new features, security patches, and enhanced performance.

Want to see more helpful guides like this? Add thecoderworld as your preferred source on Google so our content appears more often in your feed.

Share This Article
Follow:
He is a die-hard fan of tech and keeps track of every little happening in the field. When he is not writing, he usually keeps himself busy on YouTube, creating and exploring new and awesome tech content.
Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *