VMware Cloud Community
MQVMW
Contributor
Contributor

Error while adding powershell host

Hi,

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??

Reply
0 Kudos
1 Reply
igaydajiev
VMware Employee
VMware Employee

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".

http://pubs.vmware.com/orchestrator-plugins/index.jsp?topic=/com.vmware.using.powershell.plugin.doc_...

Also couple of articles about configuring PowerShell Plugin:

http://blogs.vmware.com/orchestrator/2011/12/vco-powershell-plug-in.html

http://communities.vmware.com/message/2103293#2103293

Hope it helps.