Workflow error running

Issue is with invoke powershell. The latest update has caused this command to fail in all cases. Its caused me no end of issues.