A PowerShell Operator in Process Automation that should return a value does not work.
The scriptOutput returns blank value.
In a simple PowerShell:
write-host "hello world"
The script is executed and completed successfully, but the scriptOutput comes blank instead of "hello world".
It works fine with a .cmd or .bat script, however it does not work while using .ps1 (powershells).