
PowerShell 7.4.0-preview.3: What It Means for DevOps and System Administrators
PowerShell 7.4.0-preview.3 is the latest version of Microsoft’s popular command-line shell and scripting language. As a cross-platform tool, PowerShell is used by system administrators, developers, and DevOps engineers alike to automate various tasks and manage IT infrastructure.
Please enable JavaScript
This latest release comes with a few new improvements that make it even more powerful and efficient. For DevOps and system administrators, PowerShell 7.4.0-preview.3 offers Performance Boosts, Engine Updates, Cmdlet Updates, and a few fixes, as shared here.
What’s new and improved in PowerShell 7.4.0-preview.3?
Breaking Changes
- Remove code related to
#requires -pssnapin
(#19320)
Engine Updates and Fixes
- Change the arrow used in feedback suggestion to a more common Unicode character (#19534)
- Support trigger registration in feedback provider (#19525)
- Update the
ICommandPredictor
interface to reduce boilerplate code from predictor implementation (#19414) - Fix a crash in the type inference code (#19400) (Thanks @MartinGC94!)
Performance
- Speed up
Resolve-Path
relative path resolution (#19171) (Thanks @MartinGC94!)
General Cmdlet Updates and Fixes
- Infer external application output as strings (#19193) (Thanks @MartinGC94!)
- Fix a race condition in
Add-Type
(#19471) - Detect insecure
https-to-http
redirect only if both URIs are absolute (#19468) (Thanks @CarloToso!) - Support Ctrl + C when connection hangs while reading data in WebCmdlets (#19330) (Thanks @stevenebutler!)
- Enable type conversion of
AutomationNull
to$null
for assignment (#19415) - Add the parameter
-Environment
toStart-Process
(#19374) - Add the parameter
-RelativeBasePath
toResolve-Path
(#19358) (Thanks @MartinGC94!) - Exclude redundant parameter aliases from completion results (#19382) (Thanks @MartinGC94!)
- Allow using a folder path in WebCmdlets’
-OutFile
parameter (#19007) (Thanks @CarloToso!)