Hi,
After the latest update all my poertshell tasks are failing.
They get a error output:
A command that prompts the user failed because the host program or the command type does not support user interaction. Try a host program that supports user interaction, such as the Windows PowerShell Console or Windows PowerShell ISE, and remove prompt-related commands from command types that do not support user interaction, such as Windows PowerShell workflows.
A workaround is editing the job and deselecting Non zero exit code.
The version before had no issues.
To give an example, connecting to vcenter server alone gives this error:
# Connect to VC
Get-Module –ListAvailable VM* | Import-Module | Out-Null
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null
Connect-VIServer <VCENTER SERVER> -User <USERNAME> -Password <PASSWORD> -WarningAction SilentlyContinue | Out-Null