Microsoft release PowerShell 7.3.0 Preview 1
4 min. read
Published on
Read our disclosure page to find out how can you help MSPoweruser sustain the editorial team Read more
Microsoft has just released PowerShell 7.3.0 Preview 1 on GitHub. The update comes with an extensive changelog which can be seen below:
[lwptoc title=”PowerShell 7.3.0 Preview 1 changelog” width=”40%” float=”right”]
Breaking Changes
- Add
clean
block to script block as a peer tobegin
,process
, andend
to allow easy resource cleanup - Change default for
$PSStyle.OutputRendering
toAnsi
Engine Updates and Fixes
- Remove duplicate remote server mediator code
- Fix
PSVersion
parameter version checks and error messages for PowerShell 7 remoting - Use the same temporary home directory when
HOME
env variable is not set - Fix parser to generate error when array has more than 32 dimensions
Performance
- Avoid validation for built-in file extension and color VT sequences
General Cmdlet Updates and Fixes
- Update
README.md
andmetadata.json
for next preview release - Use
PlainText
when writing to a host that doesn’t support VT - Remove support for
AppExeCLinks
to retrieve target - Move
GetOuputString()
andGetFormatStyleString()
toPSHostUserInterface
as public API - Fix
ConvertTo-SecureString
with key regression due to .NET breaking change - Fix regression in
Move-Item
to only fallback tocopy and delete
in specific cases - Set
$?
correctly for command expression with redirections - Use
CurrentCulture
when handling conversions toDateTime
inAdd-History
- Fix link header parsing to handle unquoted
rel
types - Fix a casting error when using
$PSNativeCommandUsesErrorActionPreference
- Format-Wide: Fix
NullReferenceException
- Make the native command error handling optionally honor
ErrorActionPreference
- Remove declaration of experimental features in Utility module manifest as they are stable
- Fix race condition between
DisconnectAsync
andDispose
- Fix the
Max_PATH
condition check to handle long path correctly - Update
HelpInfoUri
for 7.2 release - Fix tab completion within the script block specified for the
ValidateScriptAttribute
. - Update
README.md
to specify gathered telemetry - Fix typo for “privacy” in MSI installer
- Remove unneeded call to
File.ResolveLinkTarget
fromIsWindowsApplication
- Add
-HttpVersion
parameter to web cmdlets - Add support to web cmdlets for open-ended input tags
- Add more tests to
Tee-Object -Encoding
- Don’t throw exception when trying to resolve a possible link path
- Fix
ConvertTo-Json -Depth
to allow 100 at maximum - Fix for SSH remoting when banner is enabled on SSHD endpoint
- Disallow all COM for AppLocker system lock down
- Configure
ApplicationInsights
to not send cloud role name - Disallow
Add-Type
in NoLanguage mode on a locked down machine - Specify the executable path as
TargetObect
for non-zero exit codeErrorRecord
- Don’t allow
Move-Item
with FileSystemProvider to move a directory into itself - Make property names for the color VT sequences consistent with documentations
- Fix
PipelineVariable
to set variable in the right scope - Invoke-Command: improve handling of variables with $using: expression
- Change
Target
from aCodeProperty
to be anAliasProperty
that points toFileSystemInfo.LinkTarget
Tools
- Fix typo in build.psm1
- Add
.stylecop
tofiletypexml
and format it - Enable sending Teams notification when workflow fails
- Use
Convert-Path
for unknown drive inBuild.psm1
Tests
- Add benchmark to test compiler performance
- Enable two previously disabled
Get-Process
tests - Set clean state before testing
UseMU
in the MSI - Fix global tool and SDK tests in release pipeline
- Remove the outdated test
- Removed old not-used-anymore docker-based tests for PS release packages
Documentation and Help Content
- Update Windows PowerShell issues link
- Remove Joey from Committee and WG membership
- Update more docs for
net6.0
TFM - Change
snippet
tag tocode
tag in XML comments - Update build documentation to reflect .NET 6
- Update
README.md
about the change logs - Update change log for 7.2.0
- Update
metadata.json
andREADME.md
for 7.2.0 release - Update
README.md
andmetadata.json
files forv7.2.0-rc.1
release - Update the change logs for
v7.0.8
andv7.1.5
releases
Known issues
Note: Known issue about 7.3.0-preview.1 Alpine Linux packages are missing powershell.config.json
causing experimental features disabled by default. For details see more here
Download
The release can be found on GitHub here.
via DeskModder
User forum
0 messages