PowerShell 7.2 Released with LTS Support, .NET 6 Foundation, Enhanced ANSI and PSReadLine Predictive Features
Microsoft released PowerShell 7.2, built on .NET 6 and offering three‑year LTS support, while adding Microsoft Update integration, enhanced ANSI styling via the new $PSStyle variable, and predictive suggestions in PSReadLine 2.1 for a more efficient interactive console experience.
Microsoft announced the release of PowerShell 7.2, built on .NET 6, continuing the even‑minor‑version long‑term‑support (LTS) policy, giving this version three years of support.
Microsoft Update Support
PowerShell now integrates with Microsoft Update; the MSI installer can automatically enable updates for PowerShell 7, and users can also configure manual update options, with both preview and stable channels retained.
Enhanced ANSI Support
ANSI escape sequences provide industry‑standard text decoration in consoles and supported terminals. PowerShell 7.2 adds new ANSI capabilities, such as coloring metadata differently from data in tables or list views, and introduces the built‑in $PSStyle variable for easy styling of scripts and cmdlets.
Any customizations need to be stored in your $Profile to persist.
Predictive Suggestions in PSReadLine
PSReadLine 2.1, shipped with PowerShell 7.2, offers predictive suggestions by analyzing command history, improving interactive console efficiency; the feature is enabled by default and allows users to customize the suggestion text color.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.