I have added powershell plugin in vCO.
While adding powershell host through workflow I am getting error message
Can't validate host: Invocation of script $host threw exception (Dynamic Script Module name : addPowerShellHost#15)
Any idea what goes wrong??
Which version of the plugin are you using?
What autorization are you using (Basic/Kerberos)?
Have you verified the connection with the WinRM host outside of vCO?
Not sure if you have already gone trough the PowerShell documetation.
There is chapter for configuring/testing the WinRm host configuration that might help you "Configure WinRM to Use HTTP".
Also couple of articles about configuring PowerShell Plugin:
Hope it helps.