PowerShell 7.1 preview 2 is released

    PowerShell 7.1 preview 2 is released

    PowerShell 7.1 preview 2 is released


    Posted: 11 May 2020
    PowerShell version 7.1 preview 2 has been released.

    Changes from preview 1.

    Breaking Changes

    • On Windows, Start-Process creates a process environment with
      all the environment variables from current session,
      using -UseNewEnvironment creates a new default process environment (#10830) (Thanks @iSazonov!)
    • Do not wrap return result to PSObject when converting ScriptBlock to delegate (#10619)

    Engine Updates and Fixes

    • Allow case insensitive paths for determining PSModulePath (#12192)
    • Add PowerShell version 7.0 to compatible version list (#12184)
    • Discover assemblies loaded by Assembly.Load(byte[]) and Assembly.LoadFile (#12203)

    General Cmdlet Updates and Fixes

    • Fix WinCompat module loading to treat PowerShell 7 modules with higher priority (#12269)
    • Implement ForEach-Object -Parallel runspace reuse (#12122)
    • Fix Get-Service to not modify collection while enumerating it (#11851) (Thanks @NextTurn!)
    • Clean up the IPC named pipe on PowerShell exit (#12187)
    • Fix <img /> detection regex in web cmdlets (#12099) (Thanks @vexx32!)
    • Allow shorter signed hex literals with appropriate type suffixes (#11844) (Thanks @vexx32!)
    • Update UseNewEnvironment parameter behavior of Start-Process cmdlet on Windows (#10830) (Thanks @iSazonov!)
    • Add -Shuffle switch to Get-Random command (#11093) (Thanks @eugenesmlv!)
    • Make GetWindowsPowerShellModulePath compatible with multiple PS installations (#12280)
    • Fix Start-Job to work on systems that don't have Windows PowerShell registered as default shell (#12296)
    • Specifying an alias and -Syntax to Get-Command returns the aliased commands syntax (#10784) (Thanks @ChrisLGardner!)
    • Make CSV cmdlets work when using -AsNeeded and there is an incomplete row (#12281) (Thanks @iSazonov!)
    • In local invocations, do not require -PowerShellVersion 5.1 for Get-FormatData in order to see all format data. (#11270) (Thanks @mklement0!)
    • Added Support For Big Endian UTF-32 (#11947) (Thanks @NoMoreFood!)
    • Fix possible race that leaks PowerShell object dispose in ForEach-Object -Parallel (#12227)
    • Add -FromUnixTime to Get-Date to allow Unix time input (#12179) (Thanks @jackdcasey!)
    • Change default progress foreground and background colors to provide improved contrast (#11455) (Thanks @rkeithhill!)
    • Fix foreach -parallel when current drive is not available (#12197)
    • Do not wrap return result to PSObject when converting ScriptBlock to delegate (#10619)
    • Don't write DNS resolution errors on Test-Connection -Quiet (#12204) (Thanks @vexx32!)
    • Use dedicated threads to read the redirected output and error streams from the child process for out-of-proc jobs (#11713)


    Read more: https://github.com/PowerShell/PowerS....1.0-preview.2
    DooGie's Avatar Posted By: DooGie
    11 May 2020


  1. Posts : 98
    Windows 10 Pro( x64) Ver 2004 Fast Build 19635.1
       #1

    PowerShell 7.1 preview 2 is released-annotation-2020-05-12-182746.png
    done
      My Computer


  2. Posts : 6
    Windows 10
       #2

    same with @aswin , the dang thing will only install from a .MSI package, not from .MSIX

    I enjoy powershell previews so far. I only wish it had a setting to replace the default one.
      My Computer

  3. DooGie's Avatar
    Posts : 7,880
    Wndows 10 x64 Pro build 19635.1
    Thread Starter
       #3

    CarlMilde said:
    same with @aswin , the dang thing will only install from a .MSI package, not from .MSIX

    I enjoy powershell previews so far. I only wish it had a setting to replace the default one.
    I don't think that should be an option at the moment, not while it is a preview build.
      My Computer


 

Related Threads
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 22:38.
Find Us




Windows 10 Forums