Closed insomniacc closed 1 year ago
After testing the performance of Invoke-Parallel vs Foreach-Object -Parallel, Foreach is taking over 3 times longer interestingly. Therefore rather than add additional code and make this more complex I'll leave this as is and only use invoke-parallel on core.
-Parallel currently uses invoke-parallel for both 5.1 and core but might be best if the native core method is utilized where it can be.