Friday, March 6, 2020

PowerShell 7.0 arrives with pipeline parallelization

Microsoft is shipping PowerShell 7.0, a major update to the cross-platform automation tool and configuration framework. Highlights of the new version, introduced March 4, include pipeline parallelization and new operators.

PowerShell 7.0 introduces the new Parallel parameter for the ForEach-Object cmdlet, allowing you to run a script block in parallel for each element in a collection by using the ForEach-Object -Parallel syntax.

PowerShell 7.0 introduces new operators as well, including a ternary operator identified as a ? b :c, and pipeline chain operators, || and &&. Null conditional operators include ?? and ??=.

To read this article in full, please click here



from InfoWorld https://ift.tt/2THKMS8

No comments:

Post a Comment

hello friends how are you????????????

Followers

Total Pageviews