How to install PowerShell 7.0 on Windows 10

How to install PowerShell 7.0 on Windows 10

By default, PowerShell is installed on all versions of Windows, from Windows 7 SP1 and Windows Server 2008 R2 SP1. Over the years, Microsoft has released many versions of PowerShell. Windows PowerShell was created in the .NET Framework and only worked on Windows systems. But recently Microsoft released PowerShell 7.0, which is generally available for download and stands out mainly for its cross-platform scripting tool. In this article, we will show you how to install PowerShell 7.0 on Windows 10.

Install PowerShell 7.0 on Windows 10

To download and install PowerShell 7.0 on Windows 10, you can run a PowerShell cmdlet to download and install the MSI package from GitHub.

That’s how:

  • Press Windows key + X to access the advanced user menu.
  • Press A on the keyboard to open PowerShell in administrative mode.
  • In the PowerShell window, copy and paste the cmdlet below and press Enter:
iex “& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI”

This command will download the package directly from the GitHub URL depending on the compatibility of the operating system.

Once the MSI package is fully downloaded, you will be presented with the configuration wizard. Click Next and continue with the installation process.

Alternatively, you can visit the GitHub PowerShell launch page and scroll down to the assets and choose your operating system with the appropriate architecture, then click to download and install.

Once the installation is complete, you can see the shortcut in the Start menu.

The installed location is C: \ Program Files \ PowerShell \ 7 for Windows.

You can also access PowerShell 7.0 using the Run command. To do this, call the Run dialog box by pressing Windows + R and type pwsh and press Enter, this command will launch the new PowerShell.

PowerShell 7.0 comes with many new features like:

  • Pipe parallelization
  • New operators
  • ConciseView cmdlet and Get-Error
  • Automatic new version notifications
  • Call DSC resources directly from PowerShell 7
  • Compatibility layer.

Leave a Comment

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