Microsoft announces General Availability of PowerShell 7.2
After a series of a preview builds and a recent release candidate, Microsoft's PowerShell 7.2 has now hit General Availability.
Based on the newly released .NET 6, this is a Long Term Support (LTS) version that will enjoy support from Microsoft for three years. In addition to bug fixes and performance improvements, PowerShell 7.2 boasts numerous new features including new APIs to use in scripts.
See also:
- How to block Windows 11 if you want to stick with Windows 10
- Microsoft releases KB5008295 update to all Windows 11 users as an out-of-band patch
- Windows 11 has a weird bug that 'overcharges' laptop batteries
Key additions to this latest release include integration with Microsoft Update to automatically keep your installation of 7.2 updated, as well as predictive typing for PSReadLine 2.1 (Predictive Intellisense). There is also enhanced ANSI support. including a new built-in variable called $PSStyle to make it easy to add decoration to your scripts or cmdlets and more.
Over in the PowerShell section of its developer blogs, Microsoft says:
We’re pleased to announce the General Availability of PowerShell 7.2! This release continues our even numbered minor version releases as Long Term Support (LTS). The odd numbered minor versions will continue to have a 1 year support lifecycle. This means that this release will be supported in production for 3 years (end of support would be around end of 2024).
This release is built on .NET 6! This includes many performance improvements, bug fixes, and new APIs to use in your scripts.
Our last LTS release was PowerShell 7.0 which means that there is a 1 year overlap where PowerShell 7.0 is still supported and 7.2 is available. We would recommend using this time to evaluate 7.2 and report any issues that would prevent migration to 7.2 from 7.0.
You can grab the the MSI package for PowerShell 7.2, or you can install it from the Microsoft Store.