r/PowerShell • • Mar 04 '20

Announcing PowerShell 7.0 | PowerShell

https://devblogs.microsoft.com/powershell/announcing-powershell-7-0/?WT.mc_id=reddit-social-marouill
281 Upvotes

74 comments sorted by

View all comments

1

u/serendrewpity Mar 05 '20

Not really sure what all the excitement is. I guess I assumed thta powershell could most definitely accomplish something like this already. I'd beed doing parallel processing with function callbacks and ExecQueryAsync in vbScript since its early days in WinXP.

I'm being serious, not picking a fight, I want to know why its a big deal that PS is just now getting around to this.

4

u/Emiroda Mar 05 '20

I'm pissing on /u/SteveL_Msft's parade, but Foreach-Object -Parrallel is not the big feature of PowerShell 7.0. As you said, you've been able to do parrallelisation for a long time. It's just that, on the box, Foreach-Object -Parrallel is the only thing people care about, specifically for PowerShell 7.0.

No, the big feature of PowerShell 7.0 is that it's the first version of PowerShell to be cross-platform, built on a new framework, and be viable for Windows users. As a Windows user, PowerShell 6 was forgettable. PowerShell 7.0 is the first stable version of PowerShell since 5.1 to be a viable option for development and production workloads, on Windows and Linux.

Besides, I think cross-platform DSC is more impressive.

3

u/serendrewpity Mar 05 '20

thank you. That is huge. Together with Windows Subsytem for Linux may just be a comprehensive, viable option to blur the llines Linux and Windows and increasing their footprint in the mobile, sbc, cloud and other platforms where linux had little competition from MS