r/PowerShell • • Mar 04 '20

New PowerShell Version - v7.0.0

https://github.com/PowerShell/PowerShell/releases/tag/v7.0.0
160 Upvotes

70 comments sorted by

View all comments

Show parent comments

39

u/firefox15 Mar 04 '20

Depends what you are comparing it to. Personally, I like the parallel processing ability that has been introduced with ForEach-Object.

19

u/azjunglist05 Mar 04 '20

I feel like that’s the only thing people ever mention about PS 7.0 - is that really the only major change that has been made?

I’ve been using Runspaces for awhile, so it being added to a foreach loop doesn’t really make me gung-ho about it. Genuinely curious though to see from user’s perspectives what has changed!

0

u/[deleted] Mar 04 '20

[deleted]

4

u/bozho Mar 04 '20

Is there a good source on PS 7 and Windows-only stuff and DSC?

We use DSC for Window servers' configuration management and a lot of resources depend on .NET Framework stuff. For example, SqlServer module is importable on PS 7. Importing the module in PS 5.1 adds several types used to manage SQL Server components, like [Microsoft.AnalysisServices.Role], but not on PS 7. I assume we'll have to wait and see if underlying assemblies get ported to .NET Core...