VMware Cloud Community
SujalRR
Contributor
Contributor

Invoke-command on VM over VCHS

Is it possible to execute Invoke-VMScript on remote VM in VCHS just by passing the guest credentials from my local machine?

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership

Afaik, if your account has SSPI for the VCHS vCenter, that should work.

You will only need to provide the Guest credentials to logon to the guest OS.

The VMware Tools need to be installed on the target VM.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
SujalRR
Contributor
Contributor

Thanks for the reply.

I have VCHS dedicated cloud subscription. I have been able to connect to PIserver and PIDatacenter using PowerCLI 6. But when I am trying to connect to any of the VM either using domain or local credentials it is not allowing me to do so.

My aim is to execute specific command on VM's guest OS.

Thanks in advance.

Reply
0 Kudos