How do I install PowerShell on windows?

  • PowerShell 7 vs. Windows PowerShell
    • 1. Install PowerShell 7 on Windows 10 MSI package
    • 2. Install PowerShell ZIP package
    • 3. Windows Package Manager (Winget) in Command Prompt
    • 4. Install via Microsoft Store
  • Send a tip
    • Share This Post

In March 2020, Microsoft announced PowerShell 7 on Windows 10. The latest stable PowerShell 7 release, PowerShell 7.2 is available for download now on GitHub.

Once you enable Hyper-V on Windows 10, you might be interested in learning about other Microsoft tools you can use to expand your Windows 10 skillset. PowerShell 7 is a great place to start.

PowerShell 7.2 is a Microsoft cross-platform, modern task automation tool that is made up of a command-line shell and a scripting language in one. PowerShell 7 can run on Windows, Linux, and macOS. PowerShell 7 is backward compatible with Windows PowerShell.

Windows PowerShell comes preinstalled on Windows 10 and executes commands to make changes to your Windows 10 PC. Windows PowerShell was designed to help with task automation for administrative tasks.

Windows PowerShell evolved from a Windows-only tool into PowerShell 7, an open source, cross-platform tool built to help system administrators and power-users automate tasks and processes.

The latest preview version, PowerShell 7.3, is a prerelease version that continues to support cross-platform deployment and adds a bunch of new features, cmdlets, and performance and bug fixes.

It is not recommended to use the pre-release version. For this guide, we will use steps to install the latest stable release, PowerShell 7.2.

1. Install PowerShell 7 on Windows 10 MSI package

The first method uses an MSI file to install PowerShell. MSI packages work almost identically as an EXE file and allow you to install a program using a graphical interface.

Using an MSI package to install a program is a simple method that only uses the necessary core files for installation. All you have to do is double-click the package to start the setup wizard.

To download the MSI package:

  1. Go to the PowerShell GitHub releases page
  2. Scroll down to the Assets section and click on the MSI package you want to install
    How do I install PowerShell on windows?
  3. Once downloaded, double-click the MSI file and follow the installation prompts to complete the installation

2. Install PowerShell ZIP package

The process of installing the ZIP package on Windows 10 is almost identical to the process for installing an MSI package. PowerShell ZIP packages are provided for advanced deployment scenarios. To download the ZIP package:

  1. Go to the PowerShell GitHub releases page
  2. Scroll down to the Assets section and click on the ZIP package you want to install
  3. Extract the contents of the ZIP file to a location of your choice and double-click pwsh.exe and follow the install prompts to complete the installation.

3. Windows Package Manager (Winget) in Command Prompt

There is a way to install PowerShell 7 on Windows 10 using Command Prompt. Here's what to do.

  1. Open Command Prompt and Run as Administrator
  2. Copy and paste the following command: winget search microsoft.powershell
  3. Press Enter to run the command

How do I install PowerShell on windows?

Once the installation is completed, you can start using PowerShell.

4. Install via Microsoft Store

PowerShell 7.2 can be installed from the Microsoft Store. You can find the PowerShell 7 in the Microsoft Store, or in the Store application in Windows 10.

How do I install PowerShell on windows?

You can download PowerShell or PowerShell Preview from the Microsoft Store using the links below.

The benefit of installing PowerShell 7 or PowerShell Preview from the Microsoft Store is that you can get automatic updates built right into Windows 10, but a downside is that you can't experiment with preview versions on different platforms on GitHub.

Do you have a favorite way to install PowerShell on Windows 10? Let us know in the comments!

Send a tip

We would love to hear from you about what kind of content you would like to see. Contact us and give us a title, short description and url to the story and it will be reviewed by our staff. Credits go to you of course (or if you wish to remain anonymous, just let us know)!

Share This Post:

How to install PowerShell in Windows 10?

PowerShell 7.3 can be installed from the Microsoft Store. You can find the PowerShell release in the Microsoft Store site or in the Store application in Windows. Benefits of the Microsoft Store package: Automatic updates built right into Windows.

How to install Windows 11 PowerShell?

Open the Microsoft Store app on your PC. Use the search bar at the top to locate the PowerShell app on the store. Click the Update button to update the PowerShell app. If you don't have the app, click the Install button to get it.

How to install PowerShell with command prompt?

To achieve this, invoke the command prompt with elevated privileges (right click on the Command Prompt entry in the Start menu and select Run as administrator) and execute servermanagercmd -install powershell as follows: C:\Users\Administrator>servermanagercmd -install powershell .... Start Installation...

Does Windows 11 have PowerShell?

In Windows 11 22H2, the default app used to host console windows has been changed to Windows Terminal. After the October 2022 update, Command Prompt, Windows PowerShell, and other console apps will appear inside an instance of Windows Terminal.