PSU Desktop - Script error

Product: PowerShell Universal Desktop
Version: 3.3.5

When I’m attempting to run a script under either PS 5.1 or 7+ with my credentials, I receive this error. Not really sure what to even start on troubleshooting.

Error executing job: An error occurred trying to start process 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe' with working directory 'C:\Users\dcherry\AppData\Roaming\PowerShellUniversal\Repository'. The stub received bad data.

I think this happens when the user’s domain name isn’t included in the credential. It’s a super weird error that we should probably handle better and just provide a proper one.

Can you formatting the credential like “domain\username” or “username@domain”?

@dcherry88 were you able to find the fix on this? i’m getting this error msg too even though my creds are in the suggested formats already.

Thanks @adam, I had the same issue/error as dcherry88 using v3.9.17 and adding the domain/variable fixed the problem.