We are calling an internal PowerShell Script which ends with line exit $err, where $err is mostly 0.
When we call the Script via executeCommand method everything works fine, but when we use executeScript the PowerShell script seems to be executed, be we don't get any output. isError() and isTimeout() are always true and getCommandOutput() is always empty.
If we remove the exit $err line, the executeScript method works correctly.
Since this won't be fixed, the "executeScript" method, can't be used.
Regards
We are calling an internal PowerShell Script which ends with line
exit $err, where $err is mostly 0.When we call the Script via
executeCommandmethod everything works fine, but when we useexecuteScriptthe PowerShell script seems to be executed, be we don't get any output.isError()andisTimeout()are alwaystrueandgetCommandOutput()is always empty.If we remove the
exit $errline, theexecuteScriptmethod works correctly.Since this won't be fixed, the "executeScript" method, can't be used.
Regards