PowerShell 7.2.0 preview 10 released - September 28

PowerShell.png

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!)
Code Cleanup

We thank the following contributors!
@xtqqczze!

  • Improve CommandInvocationIntrinsics API documentation and style (#14369)
  • Use bool?.GetValueOrDefault() in FormatWideCommand (#15988) (Thanks @xtqqczze!)
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!)
Build and Packaging Improvements
Details
  • Add SHA256 hashes to release (#16147)
  • Update Microsoft.CodeAnalysis.CSharp version (#16138)
  • Change path for Component Governance for build to the path we actually use to build (#16137)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16070) (#16045) (#16036) (#16021) (#15985)
  • Update .NET to 6.0.100-rc.1.21458.32 (#16066)
  • Update minimum required OS version for macOS (#16088)
  • Ensure locale is set correctly on Ubuntu 20.04 in CI (#16067) (#16073)
  • Update .NET SDK version from 6.0.100-preview.6.21355.2 to 6.0.100-rc.1.21455.2 (#16041) (#16028) (#15648)
  • Fix the GitHub Action for updating .NET daily builds (#16042)
  • Move from PkgES hosted agents to 1ES hosted agents (#16023)
  • Update Ubuntu images to use Ubuntu 20.04 (#15906)
  • Fix the macOS build by updating the pool image name (#16010)
  • Use Alpine 3.12 for building PowerShell for Alpine Linux (#16008)
  • Ignore error from Find-Package (#15999)
  • Find packages separately for each source in UpdateDotnetRuntime.ps1 script (#15998)
  • Update metadata to start using .NET 6 RC1 builds (#15981)


Source: Release v7.2.0-preview.10 Release of PowerShell · PowerShell/PowerShell


How to Install PowerShell 7.1 in Windows 7, Windows 8, Windows 10, and Windows 11

 

Attachments

  • PowerShell.png
    PowerShell.png
    11.9 KB · Views: 3
Top