How to Download and Install PowerShell on Windows 11

Windows PowerShell is one of the most powerful command-line tools that Microsoft has ever developed. Whether you’re a developer, system administrator, or tech enthusiast, PowerShell gives you complete control over Windows automation, scripting, and management tasks.

In this guide, we’ll walk you through how to download, install, and update PowerShell on Windows 11; along with a few useful commands to test your setup once it’s installed.

What Is PowerShell?

PowerShell is a cross-platform task automation framework built on .NET. It combines a command-line shell, a scripting language, and a configuration management framework all in one.

Initially, PowerShell was only included in Windows, but Microsoft later made it open-source and cross-platform, allowing you to use it on Windows, macOS, and Linux.

With PowerShell, you can:

  • Automate repetitive administrative tasks
  • Manage system configurations
  • Control Windows services and processes
  • Execute batch commands with scripts (.ps1 files)

Why You Should Install PowerShell on Windows 11

Although Windows 11 comes with PowerShell preinstalled (usually version 5.1), newer versions — like PowerShell 7.x (PowerShell Core) — come with more features, better performance, and improved compatibility.

By installing the latest PowerShell, you’ll benefit from:

  • Modern syntax and cross-platform support
  • Enhanced security and bug fixes
  • Support for advanced modules and automation scripts

How to Download and Install PowerShell on Windows 11

Follow these steps carefully to get PowerShell running on your system.

1. Press Windows + X and select Terminal (Admin).

2. Confirm the UAC prompt by clicking Yes.

3. You’ll see the PowerShell or Command Prompt window open with admin privileges.

4. Before installing, check if you already have PowerShell installed:

powershell -version

Note: If it returns 5.1, that’s the older Windows PowerShell. The latest version is PowerShell 7.x, and that’s what we’ll install next.

5. You can download the latest PowerShell MSI package from Microsoft’s official GitHub releases page: https://github.com/PowerShell/PowerShell/releases.

6. Select the latest version from the releases page. Scroll to the Assets section, then download the .msi installer for Windows x64 (the most common version) and save it to your Downloads folder.

7. Double-click the downloaded .msi file.

8. The PowerShell Setup Wizard will appear. Continue with the setup wizard.

9. Follow the on-screen steps, and make sure to check:

  • Add PowerShell to PATH environment variable
  • Enable PowerShell remoting
  • Register PowerShell for context menu

10. Click Next to continue.

11. Click Install, and wait for the setup to complete.

12. Once done, click Finish.

13. After installation, open PowerShell and run the following command. You should now see the version of PowerShell.

pwsh --version

This confirms that you’ve successfully installed the latest version of PowerShell on Windows 11.

Install PowerShell via Microsoft Store

Alternatively, you can install PowerShell directly from the Microsoft Store:

1. Open the Microsoft Store.

2. Search for PowerShell and select it from the search result.

3. Click Get or Install.

This method is easier and ensures automatic updates.

Updating PowerShell on Windows 11

You can update PowerShell easily using the winget command:

winget upgrade --id Microsoft.Powershell --source winget

This will fetch the latest version and install automatically.

Useful PowerShell Commands to Get Started

Once PowerShell is installed, here are some handy commands to try:

CommandDescription
Get-HelpDisplays help for PowerShell commands
Get-CommandLists all available cmdlets
Get-ProcessShows currently running processes
Get-ServiceLists all services on your computer
Set-ExecutionPolicy RemoteSignedEnables script execution

Conclusion

That’s it! You’ve now installed and configured PowerShell on Windows 11 successfully. Whether you’re automating system tasks, writing scripts, or managing servers, PowerShell gives you unmatched flexibility and control.

If you’re serious about Windows administration or coding, this is one of the best tools you can have in your toolbox.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.