If you are using PowerShell 7, it now received an update to version 7.3.0 Preview 1. The latest preview release comes with a lot of improvements on top of PowerShell 7, which includes the following official list of changes. Grab the latest build from GitHub to test it ahead of public release.
 

 
  What's new and improved in Microsoft PowerShell 7.3.0 Preview 1 (Official Changelog)
  Breaking Changes
- Add cleanblock to script block as a peer tobegin,process, andendto allow easy resource cleanup
- Change default for $PSStyle.OutputRenderingtoAnsi
Engine Updates and Fixes
- Remove duplicate remote server mediator code
- Fix PSVersionparameter version checks and error messages for PowerShell 7 remoting
- Use the same temporary home directory when HOMEenv 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.mdandmetadata.jsonfor next preview release
- Use PlainTextwhen writing to a host that doesn’t support VT
- Remove support for AppExeCLinksto retrieve target
- Move GetOuputString()andGetFormatStyleString()toPSHostUserInterfaceas public API
- Fix ConvertTo-SecureStringwith key regression due to .NET breaking change
- Fix regression in Move-Itemto only fallback tocopy and deletein specific cases
- Set $?correctly for command expression with redirections
- Use CurrentCulturewhen handling conversions toDateTimeinAdd-History
- Fix link header parsing to handle unquoted reltypes
- 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 DisconnectAsyncandDispose
- Fix the Max_PATHcondition check to handle long path correctly
- Update HelpInfoUrifor 7.2 release
- Fix tab completion within the script block specified for the ValidateScriptAttribute.
- Update README.mdto specify gathered telemetry
- Fix typo for “privacy” in MSI installer
- Remove unneeded call to File.ResolveLinkTargetfromIsWindowsApplication
- Add -HttpVersionparameter 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 -Depthto allow 100 at maximum
- Fix for SSH remoting when banner is enabled on SSHD endpoint
- Disallow all COM for AppLocker system lock down
- Configure ApplicationInsightsto not send cloud role name
- Disallow Add-Typein NoLanguage mode on a locked down machine
- Specify the executable path as TargetObectfor non-zero exit codeErrorRecord
- Don’t allow Move-Itemwith FileSystemProvider to move a directory into itself
- Make property names for the color VT sequences consistent with documentations
- Fix PipelineVariableto set variable in the right scope
- Invoke-Command: improve handling of variables with $using: expression
- Change Targetfrom aCodePropertyto be anAliasPropertythat points toFileSystemInfo.LinkTarget
Tools
- Fix typo in build.psm1
- Add .stylecoptofiletypexmland format it
- Enable sending Teams notification when workflow fails
- Use Convert-Pathfor unknown drive inBuild.psm1
Tests
- Add benchmark to test compiler performance
- Enable two previously disabled Get-Processtests
- Set clean state before testing UseMUin 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.0TFM
- Change snippettag tocodetag in XML comments
- Update build documentation to reflect .NET 6
- Update README.mdabout the change logs
- Update change log for 7.2.0
- Update metadata.jsonandREADME.mdfor 7.2.0 release
- Update README.mdandmetadata.jsonfiles forv7.2.0-rc.1release
- Update the change logs for v7.0.8andv7.1.5releases
 
Have a question? Or, a comment? Let's Discuss it below...
Thank you for visiting our website!
We value your engagement and would love to hear your thoughts. Don't forget to leave a comment below to share your feedback, opinions, or questions.
We believe in fostering an interactive and inclusive community, and your comments play a crucial role in creating that environment.