Backend Development 3 min read

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.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
PowerShell 7.2 Released with LTS Support, .NET 6 Foundation, Enhanced ANSI and PSReadLine Predictive Features

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.

scriptingANSIPowerShelllts7.2PSReadLine
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.