PowerShell 7 Released

On March 4, a new version of PowerShell 7 was released.

PowerShell is a "cross-platform software automation and configuration framework optimized for structured data, REST APIs, and object models" that includes a command shell, an object-oriented language, and a set of tools for executing scripts and control modules.

New features include:

  • Parallel processing of objects in ForEach-Object
  • New operators: ternary conditional operator ?:; control statements || and &&, similar to the same operators in bash; conditional NULL-operators ?? and ?=, giving the value on the right if the value on the left is NULL
  • Improved error description view and Get-Error cmdlet to call detailed error descriptions
  • Calling Desired State Configuration (DSC) service resources directly from PowerShell (experimental)
  • Improved backward compatibility with Windows PowerShell

The version is available for use by Linux distributions that support .NET Core 3.1, packages for Arch and Kali Linux are provided by the community.

The snap package in Ubuntu 16.04 causes a sharding fault, and is therefore suggested to be installed in a DEB or tar.gz distribution.

Source: linux.org.ru

Add a comment