Forum Discussion
John_Dodo
Feb 24, 2022Brass Contributor
AmbiguousParameterSet with ForEach-Object -parallel
Hello, I have this error when trying to use parallele tasks. Can anybody help on this please? $TimeDuration = [System.Diagnostics.Stopwatch]::StartNew()
[System.Collections.ArrayLi...
Feb 24, 2022
$using is variable references that you have set before starting the foreach -parallel loop, so that's not going to help.. So yeah, that's not it.. I think I have to experiment with this myself 🙂
John_Dodo
Feb 24, 2022Brass Contributor
thank you for your help anyway, I'll just let my script run 45mins for now.
- Feb 24, 2022No problem and if you do manage to fix it, please report back 🙂