VMware Cloud Community
bkgc
Contributor
Contributor

Triggering Powershell Script on a Windows VM

Hi,

i want to trigger a powershell script on a windows vm (guest). How can i do that?

Do i need a powershell host and whats its job? do i have to declare every host i want to trigger a powershell script as powershell host?

regards,

Reply
0 Kudos
3 Replies
philippbck
Contributor
Contributor

Hi,

you can use the vro PowerShell plugin:

vCO PowerShell plug-in - VMware vCenter Orchestrator Blog - VMware Blogs

And activate Kerberos Authentication on the PowerShell host:

Configure Kerberos Authentication

regards,

Philipp

Reply
0 Kudos
knjb
Contributor
Contributor

Hi,

you can also execute powershell scripts via VMware tools (without declaring it as powershell host):

Guest script manager package

Regards,

Julian

Reply
0 Kudos
bkgc
Contributor
Contributor

Hi,

cool Smiley Happy

i have no succesfully added an powershell host to my vRO.

But when i want to run "Invoke an external script" i can only choose the powershell host. i want to execute a script on a vm (guest). im not sure if i understood the function of an powershell host.

regards,

Reply
0 Kudos