PowerShell 7.1 was released on 11/11/2020 and is quickly becoming adopted by many in the IT community.
With .NET 5 the first steps into a unified core are realized.
PowerShell 7.1 takes advantage of the many performance improvements and language improvements.
Updated Core Modules and Loading Improvements
PowerShell 7.1 includes several core module updates.
Notably, PSReadLine 2.1.0 now includes predictive IntelliSense, which is a fish shell-like syntax prediction engine.
To improve
module loading, PowerShell 7 modules are now treated with a higher priority.
New Engine Features
There are, of course, several new core features that are useful.
This feature has now been made mainstream and included by default in PowerShell 7.1.
There are two new operators that are
and
.
This feature will only be available on Linux systems.
it’s possible for you to find out its status and turn on the feature by doing the following.
This feature will give you a newUnixModeproperty that displays information from the Unixstatcommand.
This is very useful for those used to working with traditional Linux permissions.
Finally, TLS 1.3 support is now included in the various web cmdlets such asInvoke-RestMethodandInvoke-WebRequest.
If the site supports TLS 1.3, the content will be returned and negotiated by the new protocol version.
Breaking Changes
Finally, there is a handful of breaking changes.
There are more listed, but these two may affect scripts more than others.