I have put some powercli scripts in a powershell host and invoke them from vRO7. I have added powershell host and can invoke ps script successfully. But I found this function is not stable as sometimes it return the error "TypeError: Cannot find function openSession in object notfound when Invoke an external script". I don't know what reason causes the error and please help me this issue, thanks a lot!
Did you find a solution to this? I'm having the same issue.
Nevermind, I think I found the answer. I had to re-import the SSL certificate for the PowerShell host... in doing so I realized I had two PowerShell hosts in vRO. After deleting one and running update on the other... apparently the one i deleted was the one associated with my Workflow. All I had to do was edit my workflow and reselect the PowerShell host.