PowerShell 7.2.0 preview 6 released - May 27

    PowerShell 7.2.0 preview 6 released - May 27

    PowerShell 7.2.0 preview 6 released - May 27


    Last Updated: 27 May 2021 at 16:08

    Note:
    1. Known issue about some filesystem cmdlets do not work correctly with long paths, such as Remove-Item, Rename-Item and Set-Location. For details see: #15466
    2. PSReadLine 2.2.0-beta1 and 2.2.0-beta2 do not work with this preview of PowerShell due to breaking changes in the prediction interface. The upcoming PSReadLine 2.2.0-beta3 release will resolve this. Use PSReadLine 2.1.0 as the temporary workaround.

    Experimental Features
    • Breaking Change Update prediction interface to provide additional feedback to a predictor plugin (#15421)

    Performance
    • Avoid collecting logs in buffer if a pipeline execution event is not going to be logged (#15350)
    • Avoid allocation in LanguagePrimitives.UpdateTypeConvertFromTypeTable (#15168) (Thanks @xtqqczze!)
    • Replace Directory.GetDirectories with Directory.EnumerateDirectories to avoid array allocations (#15167) (Thanks @xtqqczze!)
    • Use List.ConvertAll instead of LINQ (#15140) (Thanks @xtqqczze!)

    General Cmdlet Updates and Fixes
    • Use AllocConsole before initializing CLR to ensure codepage is correct for WinRM remoting (PowerShell/PowerShell-Native#70) (Thanks @jborean93!)
    • Add completions for #requires statements (#14596) (Thanks @MartinGC94!)
    • Add completions for comment-based help keywords (#15337) (Thanks @MartinGC94!)
    • Move cross platform DSC code to a PowerShell engine subsystem (#15127)
    • Fix Minimal progress view to handle activity that is longer than console width (#15264)
    • Handle exception if ConsoleHost tries to set cursor out of bounds because screen buffer changed (#15380)
    • Fix NullReferenceException in DSC ClearCache() (#15373)
    • Update ControlSequenceLength to handle colon as a virtual terminal parameter separator (#14942)
    • Update the summary comment for StopTranscriptCmdlet.cs (#15349) (Thanks @dbaileyut!)
    • Remove the unusable alias d for the -Directory parameter from Get-ChildItem (#15171) (Thanks @kvprasoon!)
    • Fix tab completion for un-localized about topics (#15265) (Thanks @MartinGC94!)
    • Remove the unneeded SSH stdio handle workaround (#15308)
    • Add LoadAssemblyFromNativeMemory API to load assemblies from memory in a native PowerShell host (#14652) (Thanks @awakecoding!)
    • Re-implement Remove-Item OneDrive support (#15260) (Thanks @iSazonov!)
    • Kill native processes in pipeline when pipeline is disposed on Unix (#15287)
    • Default to MTA on Windows platforms where STA is not supported (#15106)

    Code Cleanup

    We thank the following contributors!
    @xtqqczze, @powercode, @bcwood

    Tools
    • Add winget release script (#15050)

    Tests
    • Enable cross-runtime benchmarking to compare different .NET runtimes (#15387) (Thanks @adamsitnik!)
    • Add the performance benchmark project for PowerShell performance testing (#15242)

    Build and Packaging Improvements

    Update .NET to version v6.0.0-preview.4Documentation and Help Content
    • Add documentation comments section to coding guidelines (#14316) (Thanks @xtqqczze!)

    Read more: Release v7.2.0-preview.6 Release of PowerShell . PowerShell/PowerShell . GitHub


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

    Brink's Avatar Posted By: Brink
    27 May 2021


  1. Posts : 10,311
    Wndows 10 Pro x64 release preview channel
       #1

      My Computer


  2. Posts : 1,490
    Windows 10 Pro x64-bit Build Latest
       #2

    Thanks @Brink

    Getting it now!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:25.
Find Us




Windows 10 Forums