Invoke-Parallel
is using it's parent scope context instead of the caller's scope context on $using:
statements.
Simple reproduction:
1..1 | Invoke-Parallel { $using:PSBoundParameters }
Outputs:
Key Value
--- -----
ScriptBlock $using:PSBoundParameters
InputObject 1