On Windows 10, PowerShell 7.2 is the next major refresh of the Microsoft command-line shell and scripting language designed for advanced users and administrators to automate tasks and change settings.
Version 7.2 was released on November 8, 2021, and it brings some new improvements, such as support for automatic updates through the Microsoft Update. The ability to update the app is enabled automatically, no matter how you install it, but you can always disable the functionality.
The app also introduces enhanced support for ANSI escape sequences for text decoding support. Microsoft is even adding a new $PSStyle
variable to make it easy to add decoration to your scripts or cmdlets and control the use of ANSI escape sequences. Furthermore, version 7.2 has a new feature to use your history to predict what you may be typing.
Since it’s a cross-platform application, you can download and install the new version of PowerShell on Windows 10, Windows 8.1, Windows Server (2012 R2 and later), Ubuntu, Debian, CentOS, Fedora, and Alpine for Linux, and macOS. The app is also available for ARM-based devices, including for Windows, Ubuntu, Debian, and Alpine.
In this guide, you will learn the steps to install PowerShell 7.2 on Windows 10 using the manual installer or Microsoft Store.
- Install PowerShell 7.2 on Windows 10
- Install PowerShell 7.2 using Microsoft Store
- Install PowerShell 7.2 using winget command
Install PowerShell 7.2 on Windows 10
To install PowerShell 7.2 on Windows 10, use these steps:
-
Open PowerShell 7.2 on GitHub.
-
Under the “Assets” section, click the PowerShell-7.2.0-win-x64.msi.
-
Save the file on the device.
-
Double-click the downloaded file launch the installer.
-
Click the Next button.
-
(Optional) Select the installation folder.
-
Click the Next button.
-
(Optional) Check the Add ‘Open here’ context menu to Explorer option.
-
(Optional) Check the Add ‘Run with PowerShell 7 context menu’ for PowerShell files option.
-
Click the Next button.
-
Check the Enable updating PowerShell through Microsoft Update or WSUS option.
-
Check the Use Microsoft Update when I check for updates option.
-
Click the Next button.
-
Click the Install button.
-
Click the Finish button.
Once you complete the steps, the new version of PowerShell will install on your device, and it’ll be available from the Start menu, and desktop and File Explorer right-click context menu.
Install PowerShell 7.2 using Microsoft Store
To install PowerShell 7.2 on Windows 10 using the Microsoft Store, use these steps:
-
Click the Get button for PowerShell 7.2.
-
Click the Open button.
-
Click the Get button from the Microsoft Store.
After you complete the steps, you can click the Launch button or open the app from the Start menu to start using PowerShell.
Install PowerShell 7.2 using winget command
To install PowerShell 7.2 through Command Prompt, use these steps:
-
Open Start.
-
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
-
Type the following command to install PowerShell 7.2 on Windows 10 with winget and press Enter:
winget install --id Microsoft.PowerShell
Once you complete the steps, the Windows Package Manager will download and install the latest version of PowerShell on your computer.
You can learn more about PowerShell, check out this Microsoft documentation website. Also, these instructions focus on Windows 10, but they should also work to install the new version of PowerShell on Windows 8.1 or Windows 10.