What's new in PowerShell 7.2

Image Description

Daily PowerShell #27

Daily PowerShell

November 12, 2021

In this post, we’ll go over what’s new in PowerShell 7.2

Windows Update Support

PowerShell now supports Windows Update! When you install PowerShell 7.2, you’ll be prompted as to whether you want to enable update via Windows Update. You’ll no longer need to manually update your PowerShell installation if you enable it.

PowerShell Windows Update

Predictive IntelliSense

PSReadLine 2.1 is included with PowerShell 7.2 and includes Predictive IntelliSense. You’ll have to enable this feature with the following command line.

Set-PSReadLineOption -PredictionSource History

Once enabled, you’ll be able to see predictive completions in the terminal.

PowerShell Predictive IntelliSense

Improved ANSI Escape Sequences

You’ll see improved ANSI escape sequences in PowerShell 7.2. This includes colors for default formatting like tables.

PowerShell ANSI Escape Sequences