I’ve got a relatively fresh install of PowerShell Universal, and while trying to execute a script I get the error message “Error executing job: Did not receive port from client process”
The script I’m trying to execute, which does work from a simple Powershell console on the server, is:
Send-MailMessage -SmtpServer ‘server.domain’ -to ‘email@email.com’ -from ‘email2@email.com’ -Subject ‘test’ -Body ‘test’ -WarningAction SilentlyContinue