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