PowerShell Changelog

What's new in PowerShell 7.4.2

Apr 12, 2024
  • General Cmdlet Updates and Fixes:
  • Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" (#21049)
  • Fix regression with Get-Content when -Tail 0 and -Wait are both used (#20734) (Thanks @CarloToso!)
  • Fix Get-Error serialization of array values (#21085) (Thanks @jborean93!)
  • Fix a regression in Format-Table when header label is empty (#21156)
  • Engine Updates and Fixes:
  • Revert the PR #17856 (Do not preserve temporary results when no need to do so) (#21368)
  • Make sure the assembly/library resolvers are registered at early stage (#21361)
  • Handle the case that Runspace.DefaultRunspace is null when logging for WDAC Audit (#21344)
  • Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331)
  • Fix the regression when doing type inference for $_ (#21223) (Thanks @MartinGC94!)

New in PowerShell 7.5.0 Preview 2 (Feb 23, 2024)

  • Engine Updates and Fixes:
  • Fix using assembly to use Path.Combine when constructing assembly paths (#21169)
  • Validate the value for using namespace during semantic checks to prevent declaring invalid namespaces (#21162)
  • General Cmdlet Updates and Fixes:
  • Add WinGetCommandNotFound and CompletionPredictor modules to track usage (#21040)
  • ConvertFrom-Json: Add -DateKind parameter (#20925) (Thanks @jborean93!)
  • Add tilde expansion for windows native executables (#20402) (Thanks @domsleee!)
  • Add DirectoryInfo to the OutputType for New-Item (#21126) (Thanks @MartinGC94!)
  • Fix Get-Error serialization of array values (#21085) (Thanks @jborean93!)

New in PowerShell 7.5.0 Preview 1 (Jan 19, 2024)

  • Breaking Changes:
  • Fix -OlderThan and -NewerThan parameters for Test-Path when using PathType and date range (#20942) (Thanks @ArmaanMcleod!)
  • Previously -OlderThan would be ignored if specified together
  • Change New-FileCatalog -CatalogVersion default to 2 (#20428) (Thanks @ThomasNieto!)
  • General Cmdlet Updates and Fixes:
  • Fix completion crash for the SCCM provider (#20815, #20919, #20915) (Thanks @MartinGC94!)
  • Fix regression in Get-Content when -Tail 0 and -Wait are used together (#20734) (Thanks @CarloToso!)
  • Add Aliases to the properties shown up when formatting the help content of the parameter returned by Get-Help (#20994)
  • Add implicit localization fallback to Import-LocalizedData (#19896) (Thanks @chrisdent-de!)
  • Change Test-FileCatalog to use File.OpenRead to better handle the case where the file is being used (#20939) (Thanks @dxk3355!)
  • Added -Module completion for Save-Help and Update-Help commands (#20678) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Verb for Start-Process (#20415) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Scope for *-Variable, *-Alias & *-PSDrive commands (#20451) (Thanks @ArmaanMcleod!)
  • Add argument completer to -Verb for Get-Verb and Get-Command (#20286) (Thanks @ArmaanMcleod!)
  • Fixing incorrect formatting string in CommandSearcher trace logging (#20928) (Thanks @powercode!)
  • Ensure the filename is not null when logging WDAC ETW events (#20910) (Thanks @jborean93!)
  • Fix four regressions introduced by the WDAC logging feature (#20913)
  • Leave the input, output, and error handles unset when they are not redirected (#20853)
  • Fix Start-Process -PassThru to make sure the ExitCode property is accessible for the returned Process object (#20749) (Thanks @CodeCyclone!)
  • Fix Group-Object output using interpolated strings (#20745) (Thanks @mawosoft!)
  • Fix rendering of DisplayRoot for network PSDrive (#20793)
  • Fix Invoke-WebRequest to report correct size when -Resume is specified (#20207) (Thanks @LNKLEO!)
  • Add PSAdapter and ConsoleGuiTools to module load telemetry whitelist (#20641)
  • Fix Web Cmdlets to allow WinForm apps to work correctly (#20606)
  • Block getting help from network locations in restricted remoting sessions (#20593)
  • Fix Group-Object to use current culture for its output (#20608)
  • Add argument completer to -Version for Set-StrictMode (#20554) (Thanks @ArmaanMcleod!)
  • Fix Copy-Item progress to only show completed when all files are copied (#20517)
  • Fix UNC path completion regression (#20419) (Thanks @MartinGC94!)
  • Add telemetry to check for specific tags when importing a module (#20371)
  • Report error if invalid -ExecutionPolicy is passed to pwsh (#20460)
  • Add HelpUri to Remove-Service (#20476)
  • Fix unixmode to handle setuid and sticky when file is not an executable (#20366)
  • Fix Test-Connection due to .NET 8 changes (#20369)
  • Fix implicit remoting proxy cmdlets to act on common parameters (#20367)
  • Set experimental features to stable for 7.4 release (#20285)
  • Revert changes to continue using BinaryFormatter for Out-GridView (#20300)
  • Fix Get-Service non-terminating error message to include category (#20276)
  • Prevent Export-CSV from flushing with every input (#20282) (Thanks @Chris--A!)
  • Fix a regression in DSC (#20268)
  • Include the module version in error messages when module is not found (#20144) (Thanks @ArmaanMcleod!)
  • Add -Empty and -InputObject parameters to New-Guid (#20014) (Thanks @CarloToso!)
  • Remove the comment trigger from feedback provider (#20136)
  • Prevent fallback to file completion when tab completing type names (#20084) (Thanks @MartinGC94!)
  • Add the alias r to the parameter -Recurse for the Get-ChildItem command (#20100) (Thanks @kilasuit!)
  • Tools:
  • Make sure feedback link in the bot's comment is clickable (#20878) (Thanks @floh96!)
  • Fix bot so anyone who comments will remove the "Resolution-No Activity" label (#20788)
  • Fix bot configuration to prevent multiple comments about "no activity" (#20758)
  • Add bot logic for closing GitHub issues after 6 months of "no activity" (#20525)
  • Refactor bot for easier use and updating (#20805)
  • Configure bot to add survey comment for closed issues (#20397)
  • Tests:
  • Suppress error output from Set-Location tests (#20499)
  • Fix typo in FileCatalog.Tests.ps1 (#20329) (Thanks @eltociear!)
  • Continue to improve tests for release automation (#20182)
  • Skip the test on x86 as InstallDate is not visible on Wow64 (#20165)
  • Harden some problematic release tests (#20155)
  • Documentation and Help Content:
  • Include information about upgrading in README (#20993)
  • Expand "iff" to "if-and-only-if" in XML doc content (#20852)
  • Update LTS links in README.md to point to the v7.4 packages (#20839) (Thanks @kilasuit!)
  • Update README.md to improve readability (#20553) (Thanks @AnkitaSikdar005!)
  • Fix link in docs/community/governance.md (#20515) (Thanks @suravshresth!)
  • Update ADOPTERS.md (#20555) (Thanks @AnkitaSikdar005!)
  • Fix a typo in ADOPTERS.md (#20504, #20520) (Thanks @shruti-sen2004!)
  • Correct grammatical errors in README.md (#20509) (Thanks @alienishi!)
  • Add 7.3 changelog URL to Readme (#20473) (Thanks @Saibamen!)
  • Clarify some comments and documentation (#20462) (Thanks @darkstar!)

New in PowerShell 7.4.1 (Jan 15, 2024)

  • General Cmdlet Updates and Fixes:
  • Fix Group-Object output using interpolated strings (#20745) (Thanks @mawosoft!)
  • Fix Start-Process -PassThru to make sure the ExitCode property is accessible for the returned Process object (#20749) (#20866) (Thanks @CodeCyclone!)
  • Fix rendering of DisplayRoot for network PSDrive (#20793) (#20863)
  • Engine Updates and Fixes:
  • Ensure filename is not null when logging WDAC ETW events (#20910) (Thanks @jborean93!)
  • Fix four regressions introduced by WDAC audit logging feature (#20913)

New in PowerShell 7.4.0 (Nov 16, 2023)

  • General Cmdlet Updates and Fixes:
  • Added a missing ConfigureAwait(false) call to webcmdlets so they don't block (#20622)
  • Fix Group-Object so output uses current culture (#20623)
  • Block getting help from network locations in restricted remoting sessions (#20615)
  • Build and Packaging Improvements:
  • Bump .NET 8 to 8.0.0 RTM build
  • Add internal .NET SDK URL parameter to release pipeline (Internal 28474)
  • Update the CGManifest file for v7.4.0 release (Internal 28457)
  • Fix repository root for the nuget.config (Internal 28456)
  • Add internal nuget feed to compliance build (Internal 28449)
  • Copy azure blob with PowerShell global tool to private blob and move to CDN during release (Internal 28438)
  • Fix release build by making the internal SDK parameter optional (#20658) (Internal 28440)
  • Make internal .NET SDK URL as a parameter for release builld (#20655) (Internal 28428)
  • Update PSResourceGet version for 1.0.1 release (#20652) (Internal 28427)
  • Bump .NET 8 to 8.0.0 RTM build (Internal 28360)
  • Remove Auth header content from ErrorRecord (Internal 28409)
  • Fix setting of variable to consume internal SDK source (Internal 28354)
  • Bump Microsoft.Management.Infrastructure to v3.0.0 (Internal 28352)
  • Bump Microsoft.PowerShell.Native to v7.4.0 (#20617) (#20624)

New in PowerShell 7.3.9 (Oct 26, 2023)

  • Bump .NET 7 to version 7.0.403
  • Use correct agent pool for downloading from Azure blob
  • Remove a timeout value from ADO pipeline stage to resolve a syntax issue
  • Update .NET 7 and manifests (Internal 28148)
  • Add SBOM for release pipeline (#20519) (#20573)
  • Increase timeout when publishing packages to pacakages.microsoft.com (#20470) (#20572)
  • Use fxdependent-win-desktop runtime for compliance runs (#20326) (#20571)

New in PowerShell 7.4.0 RC 1 (Oct 25, 2023)

  • Fix Test-Connection due to .NET 8 changes (#20369) (#20531)
  • Add telemetry to check for specific tags when importing a module (#20371) (#20540)
  • Fix Copy-Item progress to only show completed when all files are copied (#20517) (#20544)
  • Fix unixmode to handle setuid and sticky when file is not an executable (#20366) (#20537)
  • Fix UNC path completion regression (#20419) (#20541)
  • Fix implicit remoting proxy cmdlets to act on common parameters (#20367) (#20530)
  • Fix Get-Service non-terminating error message to include category (#20276) (#20529)
  • Fixing regression in DSC (#20268) (#20528)

New in PowerShell 7.3.8 (Oct 11, 2023)

  • Security Fixes:
  • Block getting help from network locations in restricted remoting sessions (Internal 27698)
  • Build and Packaging Improvements:
  • Build infrastructure maintenance:
  • Release build: Change the names of the PATs (#20316)
  • Add mapping for mariner arm64 stable (#20310)
  • Switch to GitHub Action for linting markdown (#20308)
  • Put the calls to Set-AzDoProjectInfo and Set-AzDoAuthToken` in the right order (#20311)

New in PowerShell 7.4.0 Preview 6 (Sep 29, 2023)

  • General Cmdlet Updates and Fixes:
  • Set approved experimental features to stable for 7.4 release (#20362)
  • Revert changes to continue using BinaryFormatter for Out-GridView (#20360)
  • Remove the comment trigger from feedback provider (#20346)
  • Tests:
  • Continued improvement to tests for release automation (#20259)
  • Skip the test on x86 as InstallDate is not visible on Wow64 (#20255)
  • Harden some problematic release tests (#20254)

New in PowerShell 7.3.7 (Sep 19, 2023)

  • Build and Packaging Improvements:
  • Bump .NET SDK version to 7.0.401:
  • Update 'ThirdPartyNotices.txt' (Internal 27602)
  • Update to use .NET SDK 7.0.401 (Internal 27591)
  • Remove HostArchitecture dynamic parameter for osxpkg (#19917)
  • Remove spelling CI in favor of GitHub Action (#20248)
  • Enable vPack provenance data (#20253)
  • Start using new packages.microsoft.com cli (#20252)
  • Add mariner arm64 to PMC release (#20251)
  • Add mariner arm64 package build to release build (#20250)
  • Make PR creation tool use --web because it is more reliable (#20247)
  • Update variable used to bypass the blocking check for multiple NuGet feeds (#20246)
  • Publish rpm package for rhel9 (#20245)
  • Add runtime and packaging type info for mariner2 arm64 (#20244)
  • Documentation and Help Content:
  • Update man page to match current help for pwsh (#20249)

New in PowerShell 7.4.0 Preview 5 (Aug 22, 2023)

  • Breaking Changes:
  • Change how relative paths in Resolve-Path are handled when using the RelativeBasePath parameter (#19755) (Thanks @MartinGC94!)
  • Engine Updates and Fixes:
  • Fix dynamic parameter completion (#19510) (Thanks @MartinGC94!)
  • Use OrdinalIgnoreCase to lookup script breakpoints (#20046) (Thanks @fflaten!)
  • Guard against null or blank path components when adding to module path (#19922) (Thanks @stevenebutler!)
  • Fix deadlock when piping to shell associated file extension (#19940)
  • Fix completion regression for filesystem paths with custom PSDrive names (#19921) (Thanks @MartinGC94!)
  • Add completion for variables assigned by the Data statement (#19831) (Thanks @MartinGC94!)
  • Fix a null reference crash in completion code (#19916) (Thanks @MartinGC94!)
  • General Cmdlet Updates and Fixes:
  • Fix Out-GridView by implementing Clone() method to replace old use of binary format serialization (#20050)
  • Support Unix domain socket in WebCmdlets (#19343) (Thanks @CarloToso!)
  • Wait-Process: add -Any and -PassThru parameters (#19423) (Thanks @dwtaber!)
  • Added the switch parameter -CaseInsensitive to Select-Object and Get-Unique cmdlets (#19683) (Thanks @ArmaanMcleod!)
  • Restore-Computer and Stop-Computer should fail with error when not running via sudo on Unix (#19824)
  • Add Help proxy function for non-Windows platforms (#19972)
  • Remove input text from the error message resulted by SecureString and PSCredential conversion failure (#19977) (Thanks @ArmaanMcleod!)
  • Add Microsoft.PowerShell.PSResourceGet to the telemetry module list (#19926)
  • Tools:
  • Give the assignPRs workflow write permissions (#20021)
  • Tests:
  • Additional test hardening for tests which fail in release pass. (#20093)
  • Don't use a completion which has a space in it (#20064)
  • Fixes for release tests (#20028)
  • Remove spelling CI in favor of GitHub Action (#19973)
  • Hide expected error for negative test on windows for script extension (#19929)
  • Add more debugging to try to determine why these test fail in release build. (#19829)
  • Build and Packaging Improvements:
  • Update ThirdPartyNotices for 7.4.0-preview.5
  • Update PSResourceGet to 0.5.24-beta24 (#20118)
  • Fix build after the change to remove win-arm32 (#20102)
  • Add comment about pinned packages (#20096)
  • Bump to .NET 8 Preview 7 (#20092)
  • Remove Win-Arm32 from release build. (#20095)
  • Add alpine framework dependent package (#19995)
  • Bump JsonSchema.Net from 4.1.8 to 5.1.3 (#20089)
  • Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 (#20088)
  • Move build to .NET 8 preview 6 (#19991)
  • Bump Microsoft.Management.Infrastructure from 2.0.0 to 3.0.0-preview.1 (#20081)
  • Bump Markdig.Signed from 0.31.0 to 0.32.0 (#20076)
  • Auto assign PR Maintainer (#20020)
  • Delete rule that was supposed to round-robin assign a maintainer (#20019)
  • Update the cgmanifest (#20012)
  • Update the cgmanifest (#20008)
  • Bump JsonSchema.Net from 4.1.7 to 4.1.8 (#20006)
  • Bump JsonSchema.Net from 4.1.6 to 4.1.7 (#20000)
  • Add mariner arm64 package build to release build (#19946)
  • Check for pre-release packages when it's a stable release (#19939)
  • Make PR creation tool use --web because it is more reliable (#19944)
  • Update to the latest NOTICES file (#19971)
  • Update variable used to bypass the blocking check for multiple NuGet feeds for release pipeline (#19963)
  • Update variable used to bypass the blocking check for multiple NuGet feeds (#19967)
  • Update README.md and metadata.json for release v7.2.13 and v7.3.6 (#19964)
  • Don't publish notice on failure because it prevent retry (#19955)
  • Change variable used to bypass nuget security scanning (#19954)
  • Update the cgmanifest (#19924)
  • Publish rpm package for rhel9 (#19750)
  • Bump XunitXml.TestLogger from 3.0.78 to 3.1.11 (#19900)
  • Bump JsonSchema.Net from 4.1.5 to 4.1.6 (#19885)
  • Bump xunit from 2.4.2 to 2.5.0 (#19902)
  • Remove HostArchitecture dynamic parameter for osxpkg (#19917)
  • FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning (#19905)
  • Change variable used to bypass nuget security scanning (#19907)
  • Checkout history for markdown lint check (#19908)
  • Switch to GitHub Action for linting markdown (#19899)
  • Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 (#19901)
  • Add runtime and packaging type info for mariner2 arm64 (#19450)
  • Update to the latest NOTICES file (#19856)
  • Documentation and Help Content:
  • Update README.md and metadata.json for 7.4.0-preview.4 release (#19872)
  • Fix grammatical issue in ADOPTERS.md (#20037) (Thanks @nikohoffren!)
  • Replace docs.microsoft.com URLs in code with FWLinks (#19996)
  • Change docs.microsoft.com to learn.microsoft.com (#19994)
  • Update man page to match current help for pwsh (#19993)
  • Merge 7.3.5, 7.3.6, 7.2.12 and 7.2.13 changelogs (#19968)
  • Fix ///-comments that violate the docs schema (#19957)
  • Update the link for getting started in README.md (#19932)
  • Migrate user docs to the PowerShell-Docs repository (#19871)

New in PowerShell 7.3.6 (Jul 14, 2023)

  • Build and Packaging Improvements:
  • Bump .NET to 7.0.306:
  • Update Notices file
  • Don't publish notice on failure because it prevents retry
  • Bump .NET to 7.0.306 (#19945)
  • Remove the property disabling optimization (#19952)
  • Add ProductCode in registry for MSI install (#19951)
  • Update variable used to bypass the blocking check for multiple NuGet feeds (#19953)
  • Change System.Security.AccessControl preview version to stable version (#19931)
  • Documentation and Help Content:
  • Update the link for getting started in README.md (#19947)

New in PowerShell 7.3.5 (Jul 14, 2023)

  • Build and Packaging Improvements:
  • Bump .NET to 7.0.306:
  • Update Notices file
  • Don't publish notice on failure because it prevents retry
  • Bump .NET to 7.0.306 (#19945)
  • Remove the property disabling optimization (#19952)
  • Add ProductCode in registry for MSI install (#19951)
  • Update variable used to bypass the blocking check for multiple NuGet feeds (#19953)
  • Change System.Security.AccessControl preview version to stable version (#19931)
  • Documentation and Help Content:
  • Update the link for getting started in README.md (#19947)

New in PowerShell 7.4.0 Preview 4 (Jun 30, 2023)

  • Breaking Changes:
  • Test-Json: Use JsonSchema.Net (System.Text.Json) instead of NJsonSchema (Newtonsoft.Json) (#18141) (Thanks @gregsdennis!)
  • Test-Connection: Increase output detail when performing a TCP test (#11452) (Thanks @jackdcasey!)
  • Engine Updates and Fixes:
  • Fix native executables not redirecting to file (#19842)
  • Add a new experimental feature to control native argument passing style on Windows (#18706)
  • Fix TabExpansion2 variable leak when completing variables (#18763) (Thanks @MartinGC94!)
  • Enable completion of variables across ScriptBlock scopes (#19819) (Thanks @MartinGC94!)
  • Fix completion of the foreach statement variable (#19814) (Thanks @MartinGC94!)
  • Fix variable type inference precedence (#18691) (Thanks @MartinGC94!)
  • Fix member completion for PowerShell Enum class (#19740) (Thanks @MartinGC94!)
  • Fix parsing for array literals in index expressions in method calls (#19224) (Thanks @MartinGC94!)
  • Fix incorrect string to type conversion (#19560) (Thanks @MartinGC94!)
  • Fix slow execution when many breakpoints are used (#14953) (Thanks @nohwnd!)
  • Add a public API for getting locations of PSModulePath elements (#19422)
  • Add WDAC Audit logging (#19641)
  • Improve path completion (#19489) (Thanks @MartinGC94!)
  • Fix an indexing out of bound error in CompleteInput for empty script input (#19501) (Thanks @MartinGC94!)
  • Improve variable completion performance (#19595) (Thanks @MartinGC94!)
  • Allow partial culture matching in Update-Help (#18037) (Thanks @dkaszews!)
  • Fix the check when reading input in NativeCommandProcessor (#19614)
  • Add support of respecting $PSStyle.OutputRendering on the remote host (#19601)
  • Support byte stream piping between native commands and file redirection (#17857)
  • General Cmdlet Updates and Fixes:
  • Disallow negative values for Get-Content cmdlet parameters -Head and -Tail (#19715) (Thanks @CarloToso!)
  • Make Update-Help throw proper error when current culture is not associated with a language (#19765) (Thanks @josea!)
  • Do not require activity when creating a completed progress record (#18474) (Thanks @MartinGC94!)
  • WebCmdlets: Add alias for -TimeoutSec to -ConnectionTimeoutSeconds and add -OperationTimeoutSeconds (#19558) (Thanks @stevenebutler!)
  • Avoid checking screen scraping on non-Windows platforms before launching native app (#19812)
  • Add reference to PSResourceGet (#19597)
  • Add FileNameStar to MultipartFileContent in WebCmdlets (#19467) (Thanks @CarloToso!)
  • Add ParameterSetName for the -Detailed parameter of Test-Connection (#19727)
  • Remove the property disabling optimization (#19701)
  • Filter completion for enum parameter against ValidateRange attributes (#17750) (Thanks @fflaten!)
  • Small cleanup Invoke-RestMethod (#19490) (Thanks @CarloToso!)
  • Fix wildcard globbing in root of device paths (#19442) (Thanks @MartinGC94!)
  • Add specific error message that creating Junctions requires absolute path (#19409)
  • Fix array type parsing in generic types (#19205) (Thanks @MartinGC94!)
  • Improve the verbose message of WebCmdlets to show correct HTTP version (#19616) (Thanks @CarloToso!)
  • Fix HTTP status from 409 to 429 for WebCmdlets to get retry interval from Retry-After header. (#19622) (Thanks @mkht!)
  • Remove minor versions from PSCompatibleVersions (#18635) (Thanks @xtqqczze!)
  • Update JsonSchema.Net version to 4.1.0 (#19610) (Thanks @gregsdennis!)
  • Allow combining of -Skip and -SkipLast parameters in Select-Object cmdlet. (#18849) (Thanks @ArmaanMcleod!)
  • Fix constructing PSModulePath if a sub-path has trailing separator (#13147)
  • Add Get-SecureRandom cmdlet (#19587)
  • Fix New-Item to re-create Junction when -Force is specified (#18311) (Thanks @GigaScratch!)
  • Improve Hashtable key completion for type constrained variable assignments, nested Hashtables and more (#17660) (Thanks @MartinGC94!)
  • Set-Clipboard -AsOSC52 for remote usage (#18222) (Thanks @dkaszews!)
  • Refactor MUIFileSearcher.AddFiles in the help related code (#18825) (Thanks @xtqqczze!)
  • Set SetLastError to true for symbolic and hard link native APIs (#19566)
  • Fix Get-AuthenticodeSignature -Content to not roundtrip the bytes to a Unicode string and then back to bytes (#18774) (Thanks @jborean93!)
  • WebCmdlets: Rename -TimeoutSec to -ConnectionTimeoutSeconds (with alias) and add -OperationTimeoutSeconds (#19558) (Thanks @stevenebutler!)
  • Tools:
  • Add Git mailmap for Andy Jordan (#19469)
  • Add backport function to release tools (#19568)
  • Tests:
  • Improve reliability of the Ctrl+c tests for WebCmdlets (#19532) (Thanks @stevenebutler!)
  • Fix logic for Import-CliXml test (#19805)
  • Add some debugging to the transcript test for SilentlyContinue (#19770)
  • Re-enable Get-ComputerInfo pending tests (#19746)
  • Update syslog parser to handle modern formats. (#19737)
  • Pass -UserScope as required by RunUpdateHelpTests (#13400) (Thanks @yecril71pl!)
  • Change how isPreview is determined for default cmdlets tests (#19650)
  • Skip file signature tests on 2012R2 where PKI cmdlet do not work (#19643)
  • Change logic for testing missing or extra cmdlets. (#19635)
  • Fix incorrect test cases in ExecutionPolicy.Tests.ps1 (#19485) (Thanks @xtqqczze!)
  • Fixing structure typo in test setup (#17458) (Thanks @powercode!)
  • Fix test failures on Windows for time zone and remoting (#19466)
  • Harden 'All approved Cmdlets present' test (#19530)
  • Documentation and Help Content:
  • Update metadata.json and README.md for upcoming releases (#19863)(#19542)
  • Update message to use the actual parameter name (#19851)
  • Update CONTRIBUTING.md to include Code of Conduct enforcement (#19810)
  • Update working-group-definitions.md (#19809)(#19561)
  • Update working-group.md to add section about reporting working group members (#19758)
  • Correct capitalization in readme (#19666) (Thanks @Aishat452!)
  • Updated the public dashboard link (#19634)
  • Fix a typo in serialization.cs (#19598) (Thanks @eltociear!)

New in PowerShell 7.3.5 (Jun 28, 2023)

  • Update the ThirdPartyNotice (Internal 26372)
  • Add PoolNames variable group to compliance pipeline (#19408)
  • Update cgmanifest.json
  • Update to .NET 7.0.304 (#19807)
  • Disable SBOM signing for CI and add extra files for packaging tests (#19729)
  • Increase timeout to make subsystem tests more reliable (#18380)
  • Increase the timeout when waiting for the event log (#19264)
  • Implement IDisposable in NamedPipeClient (#18341) (Thanks @xtqqczze!)
  • Always regenerate files wxs fragment (#19196)
  • Bump Microsoft.PowerShell.MarkdownRender (#19751)
  • Delete symbols on Linux as well (#19735)
  • Add prompt to fix conflict during backport (#19583)
  • Add backport function to release tools (#19568)
  • Add an explicit manual stage for changelog update (#19551)
  • Update the team member list in releaseTools.psm1 (#19544)
  • Verify that packages have license data (#19543)
  • Fix the regex used for package name check in vPack build (#19511)
  • Make the vPack PAT library more obvious (#19505)
  • Update the metadata.json to mark 7.3 releases as latest for stable channel (#19565)

New in PowerShell 7.4.0 Preview 3 (Apr 21, 2023)

  • 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 to Start-Process (#19374)
  • Add the parameter -RelativeBasePath to Resolve-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!)

New in PowerShell 7.3.4 (Apr 15, 2023)

  • 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)

New in PowerShell 7.4.0 Preview 2 (Mar 15, 2023)

  • Breaking Changes:
  • Update some PowerShell APIs to throw ArgumentException instead of ArgumentNullException when the argument is an empty string (#19215) (Thanks @xtqqczze!)
  • Add the parameter -ProgressAction to the common parameters (#18887)
  • Engine Updates and Fixes:
  • Fix PlainText output to correctly remove the Reset VT sequence without number (#19283)
  • Fix ConciseView to handle custom ParserError error records (#19239)
  • Fix VtSubstring helper method to correctly check characters copied (#19240)
  • Update the FeedbackProvider interface to return structured data (#19133)
  • Make the exception error in PowerShell able to associate with the right history entry (#19095)
  • Fix for JEA session leaking functions (#19024)
  • Add WDAC events and system lockdown notification (#18893)
  • Fix support for nanoserver due to lack of AMSI (#18882)
  • Performance:
  • Use interpolated strings (#19002)(#19003)(#18977)(#18980)(#18996)(#18979)(#18997)(#18978)(#18983)(#18992)(#18993)(#18985)(#18988) (Thanks @CarloToso!)
  • General Cmdlet Updates and Fixes:
  • Fix completion for PSCustomObject variable properties (#18682) (Thanks @MartinGC94!)
  • Improve type inference for Get-Random (#18972) (Thanks @MartinGC94!)
  • Make -Encoding parameter able to take ANSI encoding in PowerShell (#19298) (Thanks @CarloToso!)
  • Telemetry improvements for tracking experimental feature opt out (#18762)
  • Support HTTP persistent connections in Web Cmdlets (#19249) (Thanks @stevenebutler!)
  • Fix using xml -Body in webcmdlets without an encoding (#19281) (Thanks @CarloToso!)
  • Add the Statement property to $MyInvocation (#19027) (Thanks @IISResetMe!)
  • Fix Start-Process -Wait with -Credential (#19096) (Thanks @jborean93!)
  • Adjust PUT method behavior to POST one for default content type in WebCmdlets (#19152) (Thanks @CarloToso!)
  • Improve verbose message in web cmdlets when content length is unknown (#19252) (Thanks @CarloToso!)
  • Preserve WebSession.MaximumRedirection from changes (#19190) (Thanks @CarloToso!)
  • Take into account ContentType from Headers in WebCmdlets (#19227) (Thanks @CarloToso!)
  • Use C# 11 UTF-8 string literals (#19243) (Thanks @turbedi!)
  • Add property assignment completion for enums (#19178) (Thanks @MartinGC94!)
  • Fix class member completion for classes with base types (#19179) (Thanks @MartinGC94!)
  • Add -Path and -LiteralPath parameters to Test-Json cmdlet (#19042) (Thanks @ArmaanMcleod!)
  • Allow to preserve the original HTTP method by adding -PreserveHttpMethodOnRedirect to Web cmdlets (#18894) (Thanks @CarloToso!)
  • Webcmdlets display an error on https to http redirect (#18595) (Thanks @CarloToso!)
  • Build the relative URI for links from the response in Invoke-WebRequest (#19092) (Thanks @CarloToso!)
  • Fix redirection for -CustomMethod POST in WebCmdlets (#19111) (Thanks @CarloToso!)
  • Dispose previous response in Webcmdlets (#19117) (Thanks @CarloToso!)
  • Improve Invoke-WebRequest xml and json errors format (#18837) (Thanks @CarloToso!)
  • Fix error formatting to remove the unneeded leading newline for concise view (#19080)
  • Add -NoHeader parameter to ConvertTo-Csv and Export-Csv cmdlets (#19108) (Thanks @ArmaanMcleod!)
  • Fix Start-Process -Credential -Wait to work on Windows (#19082)
  • Add ValidateNotNullOrEmpty to OutFile and InFile parameters of WebCmdlets (#19044) (Thanks @CarloToso!)
  • Correct spelling of "custom" in event (#19059) (Thanks @spaette!)
  • Ignore expected error for file systems not supporting alternate streams (#19065)
  • Adding missing guard for telemetry opt out to avoid NullReferenceException when importing modules (#18949) (Thanks @powercode!)
  • Fix progress calculation divide by zero in Copy-Item (#19038)
  • Add progress to Copy-Item (#18735)
  • WebCmdlets parse XML declaration to get encoding value, if present. (#18748) (Thanks @CarloToso!)
  • HttpKnownHeaderNames update headers list (#18947) (Thanks @CarloToso!)
  • Fix bug with managing redirection and KeepAuthorization in Web cmdlets (#18902) (Thanks @CarloToso!)
  • Fix Get-Error to work with strict mode (#18895)
  • Add AllowInsecureRedirect switch to Web cmdlets (#18546) (Thanks @CarloToso!)
  • Invoke-RestMethod -FollowRelLink fix links containing commas (#18829) (Thanks @CarloToso!)
  • Prioritize the default parameter set when completing positional arguments (#18755) (Thanks @MartinGC94!)
  • Add -CommandWithArgs parameter to pwsh (#18726)
  • Enable creating composite subsystem implementation in modules (#18888)
  • Fix Format-Table -RepeatHeader for property derived tables (#18870)
  • Add StatusCode to HttpResponseException (#18842) (Thanks @CarloToso!)
  • Fix type inference for all scope variables (#18758) (Thanks @MartinGC94!)
  • Add completion for Using keywords (#16514) (Thanks @MartinGC94!)

New in PowerShell 7.3.3 (Feb 24, 2023)

  • Bump to use .NET 7.0.3
  • Update third party notices for v7.3.3 (Internal 24353)
  • Add tool to trigger license information gathering for NuGet modules (#18827)
  • Update global.json to 7.0.200 for v7.3.3 (Internal 24334)
  • Update cgmanifest for v7.3.3 (Internal 24338)

New in PowerShell 7.3.2 (Jan 25, 2023)

  • Engine Updates and Fixes:
  • Fix SuspiciousContentChecker.Match to detect a pre-defined 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)

New in PowerShell 7.4.0 Preview 1 (Dec 21, 2022)

  • Engine Updates and Fixes:
  • Add Instrumentation to AmsiUtil and make the init variable readonly (#18727)
  • Fix typo in OutOfProcTransportManager.cs (#18766) (Thanks @eltociear!)
  • Allow non-default encodings to be used in user's script/code (#18605)
  • Add Dim and DimOff to $PSStyle (#18653)
  • Change exec from alias to function to handle arbitrary arguments (#18567)
  • The command prefix should also be in the error color for NormalView (#18555)
  • Skip cloud files marked as "not on disk" during command discovery (#18152)
  • Replace UTF8Encoding(false) with Encoding.Default (#18356) (Thanks @xtqqczze!)
  • Fix Switch-Process to set termios appropriate for child process (#18467)
  • On Unix, only explicitly terminate the native process if not in background (#18215)
  • Treat [NullString]::Value as the string type when resolving methods (#18080)
  • Improve pseudo binding for dynamic parameters (#18030) (Thanks @MartinGC94!)
  • Make experimental feature PSAnsiRenderingFileInfo stable (#18042)
  • Update to use version 2.21.0 of Application Insights. (#17903)
  • Do not preserve temporary results when no need to do so (#17856)
  • Performance:
  • Remove some static constants from Utils.Separators (#18154) (Thanks @iSazonov!)
  • Avoid using regex when unnecessary in ScriptWriter (#18348)
  • Use source generator for PSVersionInfo to improve startup time (#15603) (Thanks @iSazonov!)
  • Skip evaluating suggestions at startup (#18232)
  • Avoid using Regex when not necessary (#18210)
  • General Cmdlet Updates and Fixes:
  • Update to use ComputeCore.dll for PowerShell Direct (#18194)
  • Replace ArgumentNullException(nameof()) with ArgumentNullException.ThrowIfNull() (#18792)(#18784) (Thanks @CarloToso!)
  • Remove TabExpansion from remote session configuration (#18795) (Internal 23331)
  • WebCmdlets get Retry-After from headers if status code is 429 (#18717) (Thanks @CarloToso!)
  • Implement SupportsShouldProcess in Stop-Transcript (#18731) (Thanks @JohnLBevan!)
  • Fix New-Item -ItemType Hardlink to resolve target to absolute path and not allow link to itself (#18634)
  • Add output types to Format commands (#18746) (Thanks @MartinGC94!)
  • Fix the process CommandLine on Linux (#18710) (Thanks @jborean93!)
  • Fix SuspiciousContentChecker.Match to detect a pre-defined string when the text starts with it (#18693)
  • Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled (#18695)
  • Fix Start-Job to check the existence of working directory using the PowerShell way (#18675)
  • Webcmdlets add 308 to redirect codes and small cleanup (#18536) (Thanks @CarloToso!)
  • Ensure HelpInfo.Category is consistently a string (#18254)
  • Remove gcloud from the legacy list because it's resolved to a .ps1 script (#18575)
  • Add gcloud and sqlcmd to list to use legacy argument passing (#18559)
  • Fix native access violation (#18545) (#18547) (Thanks @chrullrich!)
  • Fix issue when completing the first command in a script with an empty array expression (#18355) (Thanks @MartinGC94!)
  • Improve type inference of hashtable keys (#17907) (Thanks @MartinGC94!)
  • Fix Switch-Process to copy the current env to the new process (#18452)
  • Fix Switch-Process error to include the command that is not found (#18443)
  • Update Out-Printer to remove all decorating ANSI escape sequences from PowerShell formatting (#18425)
  • Web cmdlets set default charset encoding to UTF8 (#18219) (Thanks @CarloToso!)
  • Fix incorrect cmdlet name in the script used by Restart-Computer (#18374) (Thanks @urizen-source!)
  • Add the function cd~ (#18308) (Thanks @GigaScratch!)
  • Fix type inference error for empty return statements (#18351) (Thanks @MartinGC94!)
  • Fix the exception reporting in ConvertFrom-StringData (#18336) (Thanks @GigaScratch!)
  • Implement IDisposable in NamedPipeClient (#18341) (Thanks @xtqqczze!)
  • Replace command-error suggestion with new implementation based on subsystem plugin (#18252)
  • Remove the ProcessorArchitecture portion from the full name as it's obsolete (#18320)
  • Make the fuzzy searching flexible by passing in the fuzzy matcher (#18270)
  • Add -FuzzyMinimumDistance parameter to Get-Command (#18261)
  • Improve startup time by triggering initialization of additional types on background thread (#18195)
  • Fix decompression in web cmdlets (#17955) (Thanks @iSazonov!)
  • Add CustomTableHeaderLabel formatting to differentiate table header labels that are not property names (#17346)
  • Remove the extra new line form List formatting (#18185)
  • Minor update to the FileInfo table formatting on Unix to make it more concise (#18183)
  • Fix Parent property on processes with complex name (#17545) (Thanks @jborean93!)
  • Make PowerShell class not affiliate with Runspace when declaring the NoRunspaceAffinity attribute (#18138)
  • Complete the progress bar rendering in Invoke-WebRequest when downloading is complete or cancelled (#18130)
  • Display download progress in human readable format for Invoke-WebRequest (#14611) (Thanks @bergmeister!)
  • Update WriteConsole to not use stackalloc for buffer with too large size (#18084)
  • Filter out compiler generated types for Add-Type -PassThru (#18095)
  • Fixing CA2014 warnings and removing the warning suppression (#17982) (Thanks @creative-cloud!)
  • Make experimental feature PSNativeCommandArgumentPassing stable (#18044)
  • Make experimental feature PSAMSIMethodInvocationLogging stable (#18041)
  • Handle PSObject argument specially in method invocation logging (#18060)
  • Fix typos in EventResource.resx (#18063) (Thanks @eltociear!)
  • Make experimental feature PSRemotingSSHTransportErrorHandling stable (#18046)
  • Make experimental feature PSExec stable (#18045)
  • Make experimental feature PSCleanBlock stable (#18043)
  • Fix error formatting to use color defined in $PSStyle.Formatting (#17987)
  • Remove unneeded use of chmod 777 (#17974)
  • Support mapping foreground/background ConsoleColor values to VT escape sequences (#17938)
  • Make pwsh server modes implicitly not show banner (#17921)
  • Add output type attributes for Get-WinEvent (#17948) (Thanks @MartinGC94!)
  • Remove 1 second minimum delay in Invoke-WebRequest for small files, and prevent file-download-error suppression. (#17896) (Thanks @AAATechGuy!)
  • Add completion for values in comparisons when comparing Enums (#17654) (Thanks @MartinGC94!)
  • Fix positional argument completion (#17796) (Thanks @MartinGC94!)
  • Fix member completion in attribute argument (#17902) (Thanks @MartinGC94!)
  • Throw when too many parameter sets are defined (#17881) (Thanks @fflaten!)
  • Limit searching of charset attribute in meta tag for HTML to first 1024 characters in webcmdlets (#17813)
  • Fix Update-Help failing silently with implicit non-US culture. (#17780) (Thanks @dkaszews!)
  • Add the ValidateNotNullOrWhiteSpace attribute (#17191) (Thanks @wmentha!)
  • Improve enumeration of inferred types in pipeline (#17799) (Thanks @MartinGC94!)

New in PowerShell 7.3.1 (Dec 13, 2022)

  • 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)

New in PowerShell 7.3.0 (Nov 9, 2022)

  • 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)

New in PowerShell 7.3.0 RC 1 (Oct 27, 2022)

  • 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)

New in PowerShell 7.3.0 Preview 8 (Sep 21, 2022)

  • 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)

New in PowerShell 7.3.0 Preview 7 (Aug 12, 2022)

  • 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 backwards 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)

New in PowerShell 7.2.6 (Aug 12, 2022)

  • Engine Updates and Fixes:
  • Fix ForEach-Object -Parallel when passing in script block variable (#16564)
  • General Cmdlet Updates and Fixes:
  • Make Out-String and Out-File keep string input unchanged (#17455)
  • Update regex used to remove ANSI escape sequences to be more specific to decoration and hyperlinks (#16811)
  • Fix legacy ErrorView types to use $host.PrivateData colors (#17705)
  • Fix Export-PSSession to not throw error when a rooted path is specified for -OutputModule (#17671)

New in PowerShell 7.3.0 Preview 6 (Jul 19, 2022)

  • 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!)

New in PowerShell 7.3.0 Preview 5 (Jun 23, 2022)

  • 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)

New in PowerShell 7.2.5 (Jun 22, 2022)

  • Engine Updates and Fixes:
  • Fix native library loading for osx-arm64 (#17495) (Thanks @awakecoding!)
  • Tests:
  • Make Assembly Load Native test work on a FX Dependent Linux Install (#17496)
  • Enable more tests to be run in a container. (#17294)
  • Switch to using GitHub action to verify markdown links for PRs (#17281)
  • Try to stabilize a few tests that fail intermittently (#17426)
  • TLS test fix back-port (#17424)

New in PowerShell 7.3.0 Preview 4 (May 24, 2022)

  • Engine Updates and Fixes:
  • Remove the use of BinaryFormatter in PSRP serialization (#17133) (Thanks @jborean93!)
  • Update telemetry collection removing unused data and adding some new data (#17304)
  • Fix the word wrapping in formatting to handle escape sequences properly (#17316)
  • Fix the error message in Hashtable-to-object conversion (#17329)
  • Add support for new WDAC API (#17247)
  • On Windows, reset cursor visibility back to previous state when rendering progress (#16782)
  • Fix the list view to not leak VT decorations (#17262)
  • Fix formatting truncation to handle strings with VT sequences (#17251)
  • Fix line breakpoints for return statements without a value (#17179)
  • Fix for partial PowerShell module search paths, that can be resolved to CWD locations (#17231) (Internal 20126)
  • Change logic in the testing helper module for determining whether PSHOME is writable (#17218)
  • Make a variable assignment in a ParenExpression to return the variable value (#17174)
  • Use new Windows signature APIs from Microsoft.Security.Extensions package (#17159)
  • Do not include node names when sending telemetry. (#16981)
  • Support forward slashes in network share (UNC path) completion (#17111) (#17117) (Thanks @sba923!)
  • Do not generate clean block in proxy function when the feature is disabled (#17112)
  • Ignore failure attempting to set console window title (#16948)
  • Update regex used to remove ANSI escape sequences to be more specific to decoration and CSI sequences (#16811)
  • Improve member auto completion (#16504) (Thanks @MartinGC94!)
  • Prioritize ValidateSet completions over Enums for parameters (#15257) (Thanks @MartinGC94!)
  • Add Custom Remote Connections Feature (#17011)
  • General Cmdlet Updates and Fixes:
  • Add check for ScriptBlock wrapped in PSObject to $using used in ForEach-Object -Parallel (#17234) (Thanks @ryneandal!)
  • Fix ForEach method to set property on a scalar object (#17213)
  • Fix Sort-Object -Stable -Unique to actually do stable sorting (#17189) (Thanks @m1k0net!)
  • Add OutputType attribute to various commands (#16962) (Thanks @MartinGC94!)
  • Make Stop-Service only request needed privileges when not setting SDDL. (#16663) (Thanks @kvprasoon!)
  • Code Cleanup:
  • Remove EventLogLogProvider and its related legacy code (#17027)
  • Fix typos in names of method (#17003) (Thanks @al-cheb!)
  • SemanticChecks: Avoid repeated type resolution of [ordered] (#17328) (Thanks IISResetMe!)
  • Redo the change that was reverted by #15853 (#17357)
  • Correct spelling of pseudo in Compiler.cs (#17285) (Thanks @eltociear!)
  • MakeNameObscurerTelemetryInitializer internal (#17214)
  • Make NameObscurerTelemetryInitializer internal (#17167)
  • Correct Typo in the resource string PathResolvedToMultiple (#17098) (Thanks @charltonstanley!)
  • Fix typo in ComRuntimeHelpers.cs (#17104) (Thanks @eltociear!)
  • Documentation and Help Content:
  • Update link to PowerShell remoting in depth video (#17166)
  • Tests:
  • Add -because to the failing test to aid in debugging (#17030)
  • Simplify Enum generator for the -bnot operator test (#17014)
  • Improve unique naming for tests (#17043)
  • Use a random string for the missing help topic to improve the chances that the help topic really won't be found. (#17042)
  • Build and Packaging Improvements:
  • Update README.md and metadata.json for v7.3.0-preview.3 release (#17029)
  • Do not pull dotnet updates from internal feed (#17007)
  • Simplify Get-WSManSupport based on current .NET Distro Support (#17356)
  • Update to the latest NOTICES file (#17372, #17332, #17311, #17275)
  • Run on every PR and let the action skip (#17366)
  • Make sure verbose message is not null (#17363)
  • Release changelogs (#17364)
  • Update build versions (#17318)
  • Add Daily Link Check GitHub Workflow (#17351)
  • Update the cgmanifest (#17361, #17344, #17324, #17302, #17268)
  • Bump NJsonSchema from 10.6.10 to 10.7.0 (#17350)
  • Disable broken macOS CI job, which is unused (#17221)
  • Have rebase workflow Post a message when it starts (#17341)
  • Update DotnetRuntimeMetadata.json for .NET 7 Preview 4 (#17336)
  • Update Ubuntu 22 to be detected as not supported WSMan (#17338)
  • Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#17274)
  • Make sure we execute tests on LTS package for older LTS releases (#17326)
  • Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 (#17320)
  • Add fedora to the OS's that can't run WSMan (#17325)
  • Add sles15 support to install-powershell.sh (#16984)
  • Start rotating through all images (#17315)
  • Update .NET SDK version from 7.0.100-preview.2.22153.17 to 7.0.100-preview.4.22252.9 (#17061)
  • Disable release security analysis for SSH CI (#17303)
  • Add a finalize template which causes jobs with issues to fail (#17314)
  • Add mapping for ubuntu22.04 jammy (#17317)
  • Enable more tests to be run in a container. (#17294)
  • Fix build.psm1 to find the required .NET SDK version when a higher version is installed (#17299)
  • Improve how Linux container CI builds are identified (#17295)
  • Only inject NuGet security analysis if we are using secure nuget.config (#17293)
  • Reduce unneeded verbose message from build.psm1 (#17291)
  • Switch to using GitHub action to verify markdown links for PRs (#17281)
  • Put Secure supply chain analysis at correct place (#17273)
  • Fix build id variable name when selecting CI container (#17279)
  • Add rotation between the two mariner images (#17277)
  • Update to use mcr.microsoft.com (#17272)
  • Update engine working group members (#17271)
  • Bump PSReadLine from 2.2.2 to 2.2.5 in /src/Modules (#17252)
  • Update timeout for daily (#17263)
  • Bump NJsonSchema from 10.6.9 to 10.6.10 (#16902)
  • Update the cgmanifest (#17260)
  • Fix Generate checksum file for packages build failure - v7.1.7 (#17219) (Internal 20274)
  • Move cgmanifest generation to daily (#17258)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#17245)
  • Update to the latest notice file (#17238)
  • Add container to Linux CI (#17233)
  • Mark Microsoft.Management.Infrastructure.Runtime.Win as a developer dependency to hide in notice file (#17230)
  • Fixing dotnet SDK version parsing in build.psm1 (#17198) (Thanks @powercode!)
  • Fixed package names verification to support multi-digit versions (#17220)
  • Bump Microsoft.CodeAnalysis.CSharp from 4.2.0-1.final to 4.2.0-4.final (#17210)
  • Add backport action (#17212)
  • Updated change logs for v7.0.9 / v7.0.10 / v7.1.6 / v7.1.7 / v7.2.2 / v7.2.3 (#17207)
  • Updated metadata.json and README.md for v7.2.3 and v7.0.10 (#17158)
  • Update package fallback list for ubuntu (from those updated for ubuntu 22.04) (deb) (#17180)
  • Update wix to include security extensions package (#17171)
  • Update rebase.yml (#17170)
  • Adds sha256 digests to RPM packages (#16896) (Thanks @ngharo!)
  • Make mariner packages Framework dependent (#17151)
  • Update to the latest notice file (#17169)
  • Update to the latest notice file (#17146)
  • Replace . in notices container name (#17154)
  • Allow multiple installations of dotnet. (#17141)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#17105)
  • Update to the latest notice file (#16437)
  • Skip failing scriptblock tests (#17093)
  • Update dotnet-install script download link (#17086)
  • Fix the version of the Microsoft.CodeAnalysis.NetAnalyzers package (#17075)
  • Update dotnetmetadata.json to accept .NET 7 preview 3 builds (#17063)
  • Re-enable PowerShellGet tests targeting PowerShell gallery (#17062)
  • Add mariner 1.0 amd64 package (#17057)
  • Create checksum file for global tools (#17056)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#17065)
  • Use new cask format (#17064)

New in PowerShell 7.2.3 (Apr 27, 2022)

  • Engine Updates and Fixes:
  • Fix for partial PowerShell module search paths, that can be resolved to CWD locations (Internal 20126)
  • Do not include node names when sending telemetry. (#16981) to v7.2.3 (Internal 20188)
  • Tests:
  • Re-enable PowerShellGet tests targeting PowerShell gallery (#17062)
  • Skip failing scriptblock tests (#17093)

New in PowerShell 7.3.0 Preview 3 (Mar 22, 2022)

  • 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)

New in PowerShell 7.2.2 (Mar 17, 2022)

  • Bump .NET SDK to 6.0.201
  • Update WiX file (Internal 19460)
  • Update .NET SDK version to 6.0.201 (Internal 19457)
  • Update experimental feature JSON files (#16838)
  • Ensure Alpine and ARM SKUs have powershell.config.json file with experimental features enabled (#16823)
  • Update the vmImage and PowerShell root directory for macOS builds (#16611)
  • Update macOS build image and root folder for build (#16609)
  • Remove WiX install (#16834)
  • Opt-in to build security monitoring (#16911)
  • Add SBOM manifest for release packages (#16641, #16711)
  • Add Linux package dependencies for packaging (#16807)
  • Switch to our custom images for build and release (#16801, #16580)
  • Remove all references to cmake for the builds in this repo (#16578)
  • Register NuGet source when generating CGManifest (#16570)

New in PowerShell 7.3.0 Preview 2 (Feb 25, 2022)

  • 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 file names 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)

New in PowerShell 7.3.0 Preview 1 (Feb 25, 2022)

  • 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)

New in PowerShell 7.2.1 (Dec 15, 2021)

  • General Cmdlet Updates and Fixes:
  • Remove declaration of experimental features in Utility module manifest as they are stable (#16460)
  • Bring back pwsh.exe for framework dependent packages to support Start-Job (#16535)
  • Change default for $PSStyle.OutputRendering to Ansi (Internal 18394)
  • Update HelpInfoUri for 7.2 release (#16456)
  • Fix typo for "privacy" in MSI installer (#16407)

New in PowerShell 7.2.0 (Nov 8, 2021)

  • General Cmdlet Updates and Fixes:
  • Handle exception when trying to resolve a possible link path (#16310)
  • Tests:
  • Fix global tool and SDK tests in release pipeline (#16342)
  • Build and Packaging Improvements:
  • Add an approval for releasing build-info json (#16351)
  • Release build info json when it is preview (#16335)
  • Update metadata.json for v7.2.0 release
  • Update to the latest notices file and update cgmanifest.json (#16339)(#16325)
  • Fix issues in release build by updating usage of powershell.exe with pwsh.exe (#16332)
  • Update feed and analyzer dependency (#16327)
  • Update to .NET 6 GA build 6.0.100-rtm.21527.11 (#16309)
  • Add a major-minor build info JSON file (#16301)
  • Fix Windows build ZIP packaging (#16299) (Thanks @kondratyev-nv!)
  • Clean up crossgen related build scripts also generate native symbols for R2R images (#16297)
  • Fix issues reported by code signing verification tool (#16291)

New in PowerShell 7.1.5 (Oct 15, 2021)

  • Telemetry Changes:
  • Configure ApplicationInsights to not send cloud role name (Internal 17100)
  • Summary:
  • We recently became aware of an issue in PowerShell 7, which resulted in the unintentional logging of information that was outside of our documentation. In this current release, we exclude the Application Insight properties below:
  • Cloud role instance
  • Internal: Node name
  • Engine Updates and Fixes:
  • Handle error from unauthorized access when removing AppLocker test files (#15881)
  • Test more thoroughly whether a command is Out-Default for transcription scenarios (#15653)
  • Handle error when the telemetry mutex cannot be created (#15574) (Thanks @gukoff!)
  • Disallow Add-Type in NoLanguage mode on a locked down machine (Internal 17522)
  • Tools:
  • Add .stylecop to filetypexml and format it (#16025)

New in PowerShell 7.2.0 Preview 10 (Sep 30, 2021)

  • Engine Updates and Fixes:
  • Remove duplicate remote server mediator code (#16027)
  • General Cmdlet Updates and Fixes:
  • 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)
  • Add isOutputRedirected parameter to GetFormatStyleString() method (#14397)
  • Fix ConvertTo-SecureString with key regression due to .NET breaking change (#16068)
  • Fix regression in Move-Item to only fallback to CopyAndDelete in specific cases (#16029)
  • Set $? correctly for command expression with redirection (#16046)
  • Use CurrentCulture when handling conversions to DateTime in Add-History (#16005) (Thanks @vexx32!)
  • Fix NullReferenceException in Format-Wide (#15990) (Thanks @DarylGraves!)
  • 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)
  • Tests:
  • Enable two previously disabled Get-Process tests (#15845) (Thanks @iSazonov!)

New in PowerShell 7.2.0 Preview 9 (Aug 25, 2021)

  • Breaking Changes:
  • Change the default value of $PSStyle.OutputRendering to OutputRendering.Host and remove OutputRendering.Automatic (#15882)
  • Fix CA1052 for public API to make classes static when they only have static methods (#15775) (Thanks @xtqqczze!)
  • Update pwsh.exe -File to only accept .ps1 script files on Windows (#15859)
  • Engine Updates and Fixes:
  • Update .NET adapter to handle interface static members properly (#15908)
  • Catch and handle unauthorized access exception when removing AppLocker test files (#15881)
  • General Cmdlet Updates and Fixes:
  • Add -PassThru parameter to Set-Clipboard (#13713) (Thanks @ThomasNieto!)
  • Add -Encoding parameter for Tee-Object (#12135) (Thanks @Peter-Schneider!)
  • Update ConvertTo-Csv and Export-Csv to handle IDictionary objects (#11029) (Thanks @vexx32!)
  • Update the parameters -Exception and -ErrorRecord for Write-Error to be position 0 (#13813) (Thanks @ThomasNieto!)
  • Don't use ArgumentList when creating COM object with New-Object as it's not applicable to the COM parameter set (#15915)
  • Fix $PSStyle list output to correctly show TableHeader (#15928)
  • Remove the PSImplicitRemotingBatching experimental feature (#15863)
  • Fix issue with Get-Process -Module failing to stop when it's piped to Select-Object (#15682) (Thanks @ArmaanMcleod!)
  • Make the experimental features PSUnixFileStat, PSCultureInvariantReplaceOperator, PSNotApplyErrorActionToStderr, PSAnsiRendering, PSAnsiProgressFeatureName stable (#15864)
  • Enhance Remove-Item to work with OneDrive (#15571) (Thanks @iSazonov!)
  • Make global tool entrypoint class static (#15880)
  • Update ServerRemoteHost version to be same as PSVersion (#15809)
  • Make the initialization of HttpKnownHeaderNames thread safe (#15519) (Thanks @iSazonov!)
  • ConvertTo-Csv: Quote fields with quotes and newlines when using -UseQuotes AsNeeded (#15765) (Thanks @lselden!)
  • Forwarding progress stream changes from Foreach-Object -Parallel runspaces (#14271) (Thanks @powercode!)
  • Add validation to $PSStyle to reject printable text when setting a property that only expects ANSI escape sequence (#15825)

New in PowerShell 7.1.4 (Aug 13, 2021)

  • Bump .NET SDK to version 5.0.400
  • Remove the cat file from PSDesiredStateConfiguration module (Internal 16723)
  • Update .NET SDK version and other packages (Internal 16715)

New in PowerShell 7.2.0 Preview 8 (Jul 25, 2021)

  • Engine Updates and Fixes:
  • Add a Windows mode to $PSNativeCommandArgumentPassing that allows some commands to use legacy argument passing (#15408)
  • Use nameof to get parameter names when creating ArgumentNullException (#15604) (Thanks @gukoff!)
  • Test if a command is 'Out-Default' more thoroughly for transcribing scenarios (#15653)
  • Add Microsoft.PowerShell.Crescendo to telemetry allow list (#15372)
  • General Cmdlet Updates and Fixes:
  • Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output (#14406)
  • Highlight using error color the exception Message and underline in PositionMessage for Get-Error (#15786)
  • Implement a completion for View parameter of format cmdlets (#14513) (Thanks @iSazonov!)
  • Add support to colorize FileInfo file names (#14403)
  • Don't serialize to JSON ETS properties for DateTime and string types (#15665)
  • Fix HyperVSocketEndPoint.ServiceId setter (#15704) (Thanks @xtqqczze!)
  • Add DetailedView to $ErrorView (#15609)
  • Tools:
  • Add SkipRoslynAnalyzers parameter to Start-PSBuild (#15640) (Thanks @xtqqczze!)
  • Create issue template for issues updating PowerShell through Windows update. (#15700)
  • Add DocumentationAnalyzers to build (#14336) (Thanks @xtqqczze!)
  • Convert GitHub issue templates to modern forms (#15645)
  • Tests:
  • Add more tests for ConvertFrom-Json (#15706) (Thanks @strawgate!)
  • Update glob-parent and hosted-git-info test dependencies (#15643)
  • Build and Packaging Improvements:
  • Update .NET to version v6.0.0-preview.6
  • Documentation and Help Content:
  • Fix broken RFC links (#15807)
  • Add to bug report template getting details from Get-Error (#15737)
  • Update issue templates to link to new docs (#15711)
  • Add @jborean93 to Remoting Working Group (#15683)

New in PowerShell 7.2.0 Preview 7 (Jul 8, 2021)

  • Breaking Changes:
  • Remove PSDesiredStateConfiguration v2.0.5 module and published it to the PowerShell Gallery (#15536)
  • Engine Updates and Fixes:
  • Fix splatting being treated as positional parameter in completions (#14623) (Thanks @MartinGC94!)
  • Prevent PowerShell from crashing when a telemetry mutex can't be created (#15574) (Thanks @gukoff!)
  • Ignore all exceptions when disposing an instance of a subsystem implementation (#15511)
  • Wait for SSH exit when closing remote connection (#14635) (Thanks @dinhngtu!)
  • Performance:
  • Retrieve ProductVersion using informational version attribute in AmsiUtils.Init() (#15527) (Thanks @Fs00!)
  • General Cmdlet Updates and Fixes:
  • Fix retrieving dynamic parameters from provider even if globbed path returns no results (#15525)
  • Revert "Enhance Remove-Item to work with OneDrive (#15260)" due to long path issue (#15546)

New in PowerShell 7.1.3 (Jul 8, 2021)

  • Engine Updates and Fixes:
  • Remove the 32K character limit on the environment block for Start-Process (#14111)
  • Fix webcmdlets to properly construct URI from body when using -NoProxy (#14673)
  • General Cmdlet Updates and Fixes:
  • Fix PromptForCredential() to add targetName as domain (#14504)