<!–
–>
On Windows 11, PowerShell 7.2 is the next version of the command-line shell and scripting language designed for advanced users to automate tasks and change system settings.
The newest version was released on November 8, 2021, and it includes various improvements, including support for automatic updates through the Microsoft Update system whenever there are critical bug fixes or security updates. The ability to update the app is enabled automatically, no matter how you install it, but you can always disable the functionality.
PowerShell also brings enhanced support for ANSI escape sequences for text decoding support. Microsoft is even adding the new $PSStyle
variable to make it easy to add decoration to your scripts or cmdlets as well as 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 11, 10, 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’ll learn the steps to install PowerShell 7.2 using the manual installer, Microsoft Store, and the Windows Package Manager (winget) command-line tool.
Install PowerShell 7.2 on Windows 11
To install PowerShell 7.2 on Windows 11, use these steps:
-
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.
.Windows_Software_Technology-Big-343 { display:inline-block; width: 300px; height: 600px; } @media(min-width: 500px) { .Windows_Software_Technology-Big-343 { width: 300px; height: 600px;} } -
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 the computer. After the installation, 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 through 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 quickly with the winget command, 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 11 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.
These instructions focus on Windows 11, but they should also work to install the new version of PowerShell on Windows 10. If you want to learn more about PowerShell, check out this Microsoft documentation website.
Post a Comment