# 7.3 Changelog ## [7.3.12] - 2024-04-11 ### Build and Packaging Improvements

Bump to .NET 7.0.18

[7.3.12]: https://github.com/PowerShell/PowerShell/compare/v7.3.11...v7.3.12 ## [7.3.11] - 2024-01-11 ### Build and Packaging Improvements

Bump .NET to 7.0.405

[7.3.11]: https://github.com/PowerShell/PowerShell/compare/v7.3.10...v7.3.11 ## [7.3.10] - 2023-11-16 ### General Cmdlet Updates and Fixes - Redact Auth header content from ErrorRecord (Internal 28410) ### Build and Packaging Improvements

Update .NET to 7.0.404

[7.3.10]: https://github.com/PowerShell/PowerShell/compare/v7.3.9...v7.3.10 ## [7.3.9] - 2023-10-26 ### Build and Packaging Improvements

Bump .NET 7 to version 7.0.403

[7.3.9]: https://github.com/PowerShell/PowerShell/compare/v7.3.8...v7.3.9 ## [7.3.8] - 2023-10-10 ### Security Fixes - Block getting help from network locations in restricted remoting sessions (Internal 27698) ### Build and Packaging Improvements

Build infrastructure maintenance

[7.3.8]: https://github.com/PowerShell/PowerShell/compare/v7.3.7...v7.3.8 ## [7.3.7] - 2023-09-18 ### Build and Packaging Improvements

Bump .NET SDK version to 7.0.401

### Documentation and Help Content - Update man page to match current help for pwsh (#20249) [7.3.7]: https://github.com/PowerShell/PowerShell/compare/v7.3.6...v7.3.7 ## [7.3.6] - 2023-07-13 ### Build and Packaging Improvements

Bump .NET to 7.0.306

### Documentation and Help Content - Update the link for getting started in `README.md` (#19947) [7.3.6]: https://github.com/PowerShell/PowerShell/compare/v7.3.5...v7.3.6 ## [7.3.5] - 2023-06-27 ### Build and Packaging Improvements

Bump to use .NET 7.0.305

[7.3.5]: https://github.com/PowerShell/PowerShell/compare/v7.3.4...v7.3.5 ## [7.3.4] - 2023-04-12 ### Engine Updates and Fixes - Add instrumentation to `AmsiUtil` and make the `init` variable readonly (#18727) - Fix support for `NanoServer` due to the lack of AMSI (#18882) - Adding missing guard for telemetry optout to avoid `NullReferenceException` when importing modules (#18949) (Thanks @powercode!) - Fix `VtSubstring` helper method to correctly check chars copied (#19240) - Fix `ConciseView` to handle custom `ParserError` error records (#19239) ### Build and Packaging Improvements

Bump to use .NET 7.0.5

[7.3.4]: https://github.com/PowerShell/PowerShell/compare/v7.3.3...v7.3.4 ## [7.3.3] - 2023-02-23 ### Build and Packaging Improvements

Bump to use .NET 7.0.3

[7.3.3]: https://github.com/PowerShell/PowerShell/compare/v7.3.2...v7.3.3 ## [7.3.2] - 2023-01-24 ### Engine Updates and Fixes - Fix `SuspiciousContentChecker.Match` to detect a predefined string when the text starts with it (#18916) - Fix for JEA session leaking functions (Internal 23820) ### General Cmdlet Updates and Fixes - Fix `Start-Job` to check the existence of working directory using the PowerShell way (#18917) - Fix `Switch-Process` error to include the command that is not found (#18650) ### Tests - Allow system lock down test debug hook to work with new `WLDP` API (fixes system lock down tests) (#18962) ### Build and Packaging Improvements

Bump to use .NET 7.0.2

[7.3.2]: https://github.com/PowerShell/PowerShell/compare/v7.3.1...v7.3.2 ## [7.3.1] - 2022-12-13 ### Engine Updates and Fixes - Remove TabExpansion for PSv2 from remote session configuration (Internal 23331) - Add `sqlcmd` to list to use legacy argument passing (#18645 #18646) - Change `exec` from alias to function to handle arbitrary args (#18644) - Fix `Switch-Process` to copy the current env to the new process (#18632) - Fix issue when completing the first command in a script with an empty array expression (#18355) - Fix `Switch-Process` to set `termios` appropriate for child process (#18572) - Fix native access violation (#18571) ### Tests - Backport CI fixed from #18508 (#18626) - Mark charset test as pending (#18609) ### Build and Packaging Improvements

We thank the following contributors!

[7.3.1]: https://github.com/PowerShell/PowerShell/compare/v7.3.0...v7.3.1 ## [7.3.0] - 2022-11-08 ### General Cmdlet Updates and Fixes - Correct calling cmdlet `New-PSSessionOption` in script for `Restart-Computer` (#18374) ### Tests - Add test for framework dependent package in release pipeline (Internal 23139) ### Build and Packaging Improvements

Bump to use internal .NET 7 GA build (Internal 23096)

[7.3.0]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-rc.1...v7.3.0 ## [7.3.0-rc.1] - 2022-10-26 ### Breaking Change - Update to use `ComputeCore.dll` for PowerShell Direct (#18194) ### Engine Updates and Fixes - On Unix, explicitly terminate the native process during cleanup only if it's not running in background (#18215) ### General Cmdlet Updates and Fixes - Remove the `ProcessorArchitecture` portion from the full name as it's obsolete (#18320) ### Tests - Add missing `-Tag 'CI'` to describe blocks. (#18317) ### Build and Packaging Improvements

Bump to .NET 7 to 7.0.100-rc.2.22477.20 (#18328)(#18286)

[7.3.0-rc.1]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.8...v7.3.0-rc.1 ## [7.3.0-preview.8] - 2022-09-20 ### General Cmdlet Updates and Fixes - Filter out compiler generated types for `Add-Type -PassThru` (#18095) - Fix error formatting to use color defined in `$PSStyle.Formatting` (#17987) - Handle `PSObject` argument specially in method invocation logging (#18060) - Revert the experimental feature `PSStrictModeAssignment` (#18040) - Make experimental feature `PSAMSIMethodInvocationLogging` stable (#18041) - Make experimental feature `PSAnsiRenderingFileInfo` stable (#18042) - Make experimental feature `PSCleanBlock` stable (#18043) - Make experimental feature `PSNativeCommandArgumentPassing` stable (#18044) - Make experimental feature `PSExec` stable (#18045) - Make experimental feature `PSRemotingSSHTransportErrorHandling` stable (#18046) - Add the `ConfigurationFile` option to the PowerShell help content (#18093) ### Build and Packaging Improvements

Bump .NET SDK to version `7.0.100-rc.1`

[7.3.0-preview.8]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.7...v7.3.0-preview.8 ## [7.3.0-preview.7] - 2022-08-09 ### Breaking Changes - Move the type data definition of `System.Security.AccessControl.ObjectSecurity` to the `Microsoft.PowerShell.Security` module (#16355) (Thanks @iSazonov!) ### Engine Updates and Fixes - Enable searching for assemblies in `GAC_Arm64` on Windows (#17816) - Fix parser exception in using statements with empty aliases (#16745) (Thanks @MartinGC94!) - Do not always collapse space between parameter and value for native arguments. (#17708) - Remove `PSNativePSPathResolution` experimental feature (#17670) ### General Cmdlet Updates and Fixes - Fix for deserializing imported ordered dictionary (#15545) (Thanks @davidBar-On!) - Make generated implicit remoting modules backward compatible with PowerShell 5.1 (#17227) (Thanks @Tadas!) - Re-enable IDE0031: Use Null propagation (#17811) (Thanks @fflaten!) - Allow commands to still be executed even if the current working directory no longer exists (#17579) - Stop referencing `Microsoft.PowerShell.Security` when the core snapin is used (#17771) - Add support for HTTPS with `Set-AuthenticodeSignature -TimeStampServer` (#16134) (Thanks @Ryan-Hutchison-USAF!) - Add type accelerator `ordered` for `OrderedDictionary` (#17804) (Thanks @fflaten!) - Fix the definition of the `PDH_COUNTER_INFO` struct (#17779) - Adding Virtualization Based Security feature names to Get-ComputerInfo (#16415) (Thanks @mattifestation!) - Fix `FileSystemProvider` to work with volume and pipe paths (#15873) - Remove pre-parse for array-based JSON (#15684) (Thanks @strawgate!) - Improve type inference for `$_` (#17716) (Thanks @MartinGC94!) - Prevent braces from being removed when completing variables (#17751) (Thanks @MartinGC94!) - Fix type inference for `ICollection` (#17752) (Thanks @MartinGC94!) - Fix `Test-Json` not handling non-object types at root (#17741) (Thanks @dkaszews!) - Change `Get-ChildItem` to treat trailing slash in path as indicating a directory when used with `-Recurse` (#17704) - Add `find.exe` to legacy argument binding behavior for Windows (#17715) - Add completion for index expressions for dictionaries (#17619) (Thanks @MartinGC94!) - Fix enum-ranges for `ValidateRange` in proxy commands (#17572) (Thanks @fflaten!) - Fix type completion for attribute tokens (#17484) (Thanks @MartinGC94!) - Add `-noprofileloadtime` switch to `pwsh` (#17535) (Thanks @rkeithhill!) - Fix legacy `ErrorView` types to use `$host.PrivateData` colors (#17705) - Improve dynamic parameter tab completion (#17661) (Thanks @MartinGC94!) - Avoid binding positional parameters when completing parameter in front of value (#17693) (Thanks @MartinGC94!) - Render decimal numbers in a table using current culture (#17650) ### Code Cleanup

We thank the following contributors!

@fflaten, @Molkree, @eltociear

### Tests - Re-enable tests because the corresponding dotnet issues were fixed (#17839) - Add test for `LanguageMode` using remoting (#17803) (Thanks @fflaten!) - Fix test perf by stopping ongoing `write-progress` (#17749) (Thanks @fflaten!) - Re-enable the test `TestLoadNativeInMemoryAssembly` (#17738) ### Build and Packaging Improvements

We thank the following contributors!

@varunsh-coder, @dkaszews, @Molkree, @ChuckieChen945

### Documentation and Help Content - Update the comment about why R2R is disabled (#17850) - Update changelog and `.spelling` for `7.3.0-preview.6` release (#17835) - Updated `ADOPTERS.md` for Power BI (#17766) - Update README.md with the current Fedora version (#15717) (Thanks @ananya26-vishnoi!) - Update `README` and `metadata.json` for next release (#17676) (Thanks @SeeminglyScience!) [7.3.0-preview.7]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.6...v7.3.0-preview.7 ## [7.3.0-preview.6] - 2022-07-18 ### General Cmdlet Updates and Fixes - Fix `Export-PSSession` to not throw error when a rooted path is specified for `-OutputModule` (#17671) - Change `ConvertFrom-Json -AsHashtable` to use ordered hashtable (#17405) - Remove potential ANSI escape sequences in strings before using in `Out-GridView` (#17664) - Add the `-Milliseconds` parameter to `New-TimeSpan` (#17621) (Thanks @NoMoreFood!) - Update `Set-AuthenticodeSignature` to use `SHA256` as the default (#17560) (Thanks @jborean93!) - Fix tab completion regression when completing `ValidateSet` values (#17628) (Thanks @MartinGC94!) - Show optional parameters as such when displaying method definition and overloads (#13799) (Thanks @eugenesmlv!) ### Code Cleanup

We thank the following contributors!

@sethvs, @MartinGC94, @eltociear

### Tests - Fix SDK tests for release build (#17678) ### Build and Packaging Improvements

We thank the following contributors!

@tamasvajk

### Documentation and Help Content - Remove `katacoda.com` from doc as it now returns 404 (#17625) - Update changelog for `v7.2.5` and `v7.3.0-preview.5` (#17565) - Update `README.md` and `metadata.json` for upcoming releases (#17526) [7.3.0-preview.6]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.5...v7.3.0-preview.6 ## [7.3.0-preview.5] - 2022-06-21 ### Engine Updates and Fixes - Improve type inference and completions (#16963) (Thanks @MartinGC94!) - Make `Out-String` and `Out-File` keep string input unchanged (#17455) - Make `AnsiRegex` able to capture Hyperlink ANSI sequences (#17442) - Add the `-ConfigurationFile` command-line parameter to `pwsh` to support local session configuration (#17447) - Fix native library loading for `osx-arm64` (#17365) (Thanks @awakecoding!) - Fix formatting to act appropriately when the style of table header or list label is empty string (#17463) ### General Cmdlet Updates and Fixes - Fix various completion issues inside the `param` block (#17489) (Thanks @MartinGC94!) - Add Amended switch to `Get-CimClass` cmdlet (#17477) (Thanks @iSazonov!) - Improve completion on operators (#17486) (Thanks @MartinGC94!) - Improve array element completion for command arguments (#17078) (Thanks @matt9ucci!) - Use AST extent for `PSScriptRoot` path completion (#17376) - Add type inference support for generic methods with type parameters (#16951) (Thanks @MartinGC94!) - Write out OSC indicator only if the `stdout` is not redirected (#17419) - Remove the assert and use a relatively larger capacity to cover possible increase of .NET reference assemblies (#17423) - Increase reference assembly count to 161 (#17420) ### Code Cleanup

We thank the following contributors!

@Yulv-git, @eltociear

### Tools - Update script to pin to .NET 7 preview 5 version (#17448) - Start-PSPester: argument completer for `-Path` (#17334) (Thanks @powercode!) - Add reminder workflows (#17387) - Move to configuring the fabric bot via JSON (#17411) - Update Documentation Issue Template URL (#17410) (Thanks @michaeltlombardi!) - Update script to automatically take new preview prerelease builds (#17375) ### Tests - Make Assembly Load Native test work on a FX Dependent Linux Install (#17380) - Update `Get-Error` test to not depend on DNS APIs (#17471) ### Build and Packaging Improvements
### Documentation and Help Content - Update to the latest NOTICES file (#17493) (Thanks @github-actions[bot]!) - Update the cgmanifest (#17478) (Thanks @github-actions[bot]!) - Correct spelling in Comments and tests (#17480) (Thanks @Yulv-git!) - Fix spelling errors introduced in changelog (#17414) - Update changelog for v7.3.0-preview.4 release (#17412) - Update readme and metadata for 7.3.0-preview.4 release (#17378) [7.3.0-preview.5]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.4...v7.3.0-preview.5 ## [7.3.0-preview.4] - 2022-05-23 ### Engine Updates and Fixes ### General Cmdlet Updates and Fixes ### Code Cleanup ### Documentation and Help Content ### Tests ### Build and Packaging Improvements [7.3.0-preview.4]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.3...v7.3.0-preview.4 ## [7.3.0-preview.3] - 2022-03-21 ### Engine Updates and Fixes - Fix the parsing code for .NET method generic arguments (#16937) - Allow the `PSGetMemberBinder` to get value of `ByRef` property (#16956) - Allow a collection that contains `Automation.Null` elements to be piped to pipeline (#16957) ### General Cmdlet Updates and Fixes - Add the module `CompatPowerShellGet` to the allow-list of telemetry modules (#16935) - Fix `Enter-PSHostProcess` and `Get-PSHostProcessInfo` cmdlets by handling processes that have exited (#16946) - Improve Hashtable completion in multiple scenarios (#16498) (Thanks @MartinGC94!) ### Code Cleanup - Fix a typo in `CommandHelpProvider.cs` (#16949) (Thanks @eltociear!) ### Tests - Update a few tests to make them more stable in CI (#16944) - Roll back Windows images used in testing to Windows Server 2019 (#16958) ### Build and Packaging Improvements

Update .NET SDK to 7.0.0-preview.2

[7.3.0-preview.3]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.2...v7.3.0-preview.3 ## [7.3.0-preview.2] - 2022-02-24 ### Engine Updates and Fixes - Fix the `clean` block for generated proxy function (#16827) - Add support to allow invoking method with generic type arguments (#12412 and #16822) (Thanks @vexx32!) - Report error when PowerShell built-in modules are missing (#16628) ### General Cmdlet Updates and Fixes - Prevent command completion if the word to complete is a single dash (#16781) (Thanks @ayousuf23!) - Use `FindFirstFileW` instead of `FindFirstFileExW` to correctly handle Unicode filenames on FAT32 (#16840) (Thanks @iSazonov!) - Add completion for loop labels after Break/Continue (#16438) (Thanks @MartinGC94!) - Support OpenSSH options for `PSRP` over SSH commands (#12802) (Thanks @BrannenGH!) - Adds a `.ResolvedTarget` Property to `File-System` Items to Reflect a Symlink's Target as `FileSystemInfo` (#16490) (Thanks @hammy3502!) - Use `NotifyEndApplication` to re-enable VT mode (#16612) - Add new parameter to `Start-Sleep`: `[-Duration] ` (#16185) (Thanks @IISResetMe!) - Add lock and null check to remoting internals (#16542) (#16683) (Thanks @SergeyZalyadeev!) - Make `Measure-Object` ignore missing properties unless running in strict mode (#16589) (Thanks @KiwiThePoodle!) - Add `-StrictMode` to `Invoke-Command` to allow specifying strict mode when invoking command locally (#16545) (Thanks @Thomas-Yu!) - Fix `$PSNativeCommandArgPassing` = `Windows` to handle empty args correctly (#16639) - Reduce the amount of startup banner text (#16516) (Thanks @rkeithhill!) - Add `exec` cmdlet for bash compatibility (#16462) - Add AMSI method invocation logging as experimental feature (#16496) - Fix web cmdlets so that an empty `Get` does not include a `content-length` header (#16587) - Update `HelpInfoUri` for 7.3 release (#16646) - Fix parsing `SemanticVersion` build label from version string (#16608) - Fix `ForEach-Object -Parallel` when passing in script block variable (#16564) ### Code Cleanup

We thank the following contributors!

@eltociear, @iSazonov, @xtqqczze

### Tools - Fix automation to update experimental JSON files in GitHub action (#16837) ### Tests - Update `markdownlint` to the latest version (#16825) - Bump the package `path-parse` from `1.0.6` to `1.0.7` (#16820) - Remove assert that is incorrect and affecting our tests (#16588) ### Build and Packaging Improvements

We thank the following contributors!

@dahlia

### Documentation and Help Content - Add newly joined members to their respective Working Groups (#16849) - Update Engine Working Group members (#16780) - Replace the broken link about pull request (#16771) - Update changelog to remove a broken URL (#16735) - Updated `README.md` and `metadata.json` for `v7.3.0-preview.1` release (#16627) - Updating changelog for `7.2.1` (#16616) - Updated `README.md` and `metadata.json` for `7.2.1` release (#16586) [7.3.0-preview.2]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.1...v7.3.0-preview.2 ## [7.3.0-preview.1] - 2021-12-16 ### Breaking Changes - Add `clean` block to script block as a peer to `begin`, `process`, and `end` to allow easy resource cleanup (#15177) - Change default for `$PSStyle.OutputRendering` to `Ansi` (Internal 18449) ### Engine Updates and Fixes - Remove duplicate remote server mediator code (#16027) - Fix `PSVersion` parameter version checks and error messages for PowerShell 7 remoting (#16228) - Use the same temporary home directory when `HOME` env variable is not set (#16263) - Fix parser to generate error when array has more than 32 dimensions (#16276) ### Performance - Avoid validation for built-in file extension and color VT sequences (#16320) (Thanks @iSazonov!) ### General Cmdlet Updates and Fixes - Update `README.md` and `metadata.json` for next preview release (#16107) - Use `PlainText` when writing to a host that doesn't support VT (#16092) - Remove support for `AppExeCLinks` to retrieve target (#16044) - Move `GetOuputString()` and `GetFormatStyleString()` to `PSHostUserInterface` as public API (#16075) - Fix `ConvertTo-SecureString` with key regression due to .NET breaking change (#16068) - Fix regression in `Move-Item` to only fallback to `copy and delete` in specific cases (#16029) - Set `$?` correctly for command expression with redirections (#16046) - Use `CurrentCulture` when handling conversions to `DateTime` in `Add-History` (#16005) (Thanks @vexx32!) - Fix link header parsing to handle unquoted `rel` types (#15973) (Thanks @StevenLiekens!) - Fix a casting error when using `$PSNativeCommandUsesErrorActionPreference` (#15993) - Format-Wide: Fix `NullReferenceException` (#15990) (Thanks @DarylGraves!) - Make the native command error handling optionally honor `ErrorActionPreference` (#15897) - Remove declaration of experimental features in Utility module manifest as they are stable (#16460) - Fix race condition between `DisconnectAsync` and `Dispose` (#16536) (Thanks @i3arnon!) - Fix the `Max_PATH` condition check to handle long path correctly (#16487) (Thanks @Shriram0908!) - Update `HelpInfoUri` for 7.2 release (#16456) - Fix tab completion within the script block specified for the `ValidateScriptAttribute`. (#14550) (Thanks @MartinGC94!) - Update `README.md` to specify gathered telemetry (#16379) - Fix typo for "privacy" in MSI installer (#16407) - Remove unneeded call to `File.ResolveLinkTarget` from `IsWindowsApplication` (#16371) (Thanks @iSazonov!) - Add `-HttpVersion` parameter to web cmdlets (#15853) (Thanks @hayhay27!) - Add support to web cmdlets for open-ended input tags (#16193) (Thanks @farmerau!) - Add more tests to `Tee-Object -Encoding` (#14539) (Thanks @rpolley!) - Don't throw exception when trying to resolve a possible link path (#16310) - Fix `ConvertTo-Json -Depth` to allow 100 at maximum (#16197) (Thanks @KevRitchie!) - Fix for SSH remoting when banner is enabled on SSHD endpoint (#16205) - Disallow all COM for AppLocker system lock down (#16268) - Configure `ApplicationInsights` to not send cloud role name (#16246) - Disallow `Add-Type` in NoLanguage mode on a locked down machine (#16245) - Specify the executable path as `TargetObect` for non-zero exit code `ErrorRecord` (#16108) (Thanks @rkeithhill!) - Don't allow `Move-Item` with FileSystemProvider to move a directory into itself (#16198) - Make property names for the color VT sequences consistent with documentations (#16212) - Fix `PipelineVariable` to set variable in the right scope (#16199) - Invoke-Command: improve handling of variables with $using: expression (#16113) (Thanks @dwtaber!) - Change `Target` from a `CodeProperty` to be an `AliasProperty` that points to `FileSystemInfo.LinkTarget` (#16165) ### Code Cleanup

We thank the following contributors!

@xtqqczze, @eltociear, @iSazonov

### Tools - Fix typo in build.psm1 (#16038) (Thanks @eltociear!) - Add `.stylecop` to `filetypexml` and format it (#16025) - Enable sending Teams notification when workflow fails (#15982) - Use `Convert-Path` for unknown drive in `Build.psm1` (#16416) (Thanks @matt9ucci!) ### Tests - Add benchmark to test compiler performance (#16083) - Enable two previously disabled `Get-Process` tests (#15845) (Thanks @iSazonov!) - Set clean state before testing `UseMU` in the MSI (#16543) - Fix global tool and SDK tests in release pipeline (#16342) - Remove the outdated test (#16269) - Removed old not-used-anymore docker-based tests for PS release packages (#16224) ### Build and Packaging Improvements

We thank the following contributors!

@github-actions[bot], @kondratyev-nv

### Documentation and Help Content - Update Windows PowerShell issues link (#16105) (Thanks @andschwa!) - Remove Joey from Committee and WG membership (#16119) - Update more docs for `net6.0` TFM (#16102) (Thanks @xtqqczze!) - Change `snippet` tag to `code` tag in XML comments (#16106) - Update build documentation to reflect .NET 6 (#15751) (Thanks @Kellen-Stuart!) - Update `README.md` about the changelogs (#16471) (Thanks @powershellpr0mpt!) - Update changelog for 7.2.0 (#16401) - Update `metadata.json` and `README.md` for 7.2.0 release (#16395) - Update `README.md` and `metadata.json` files for `v7.2.0-rc.1` release (#16285) - Update the changelogs for `v7.0.8` and `v7.1.5` releases (#16248) [7.3.0-preview.1]: https://github.com/PowerShell/PowerShell/compare/v7.2.0-preview.10...v7.3.0-preview.1