We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This lines:
public Collection<PSObject> InvokeScript(string script, params object[] args) { return InvokeScript(script, true, PipelineResultTypes.None, args); }
Pass args parameter into input parameter of called function, thus mixing them up.
args
input
$ExecutionContext.SessionState.InvokeCommand.InvokeScript('"`$args:($args); `$input:($input)"', 1, 2, 3)
$args:(1 2 3); $input:()
$args:(); $input:(1 2 3)
Tested in v2.0 and v5.1.15063.608
This lines:
Pass
argsparameter intoinputparameter of called function, thus mixing them up.Steps to reproduce
Expected behavior
Actual behavior
Environment data
Tested in v2.0 and v5.1.15063.608