PSParallel
PSParallel copied to clipboard
Locally scoped variables are not copied into scriptblock in some instances
When Invoke-Parallel is called from .ps1 script root (not from within a function), locally scoped variables are not copied to the script block. This issue does not present when Invoke-Parallel is called from within a function.
Can you make a PR with a failing pester test?