VMware Cloud Community
madhanSakthi
Contributor
Contributor

How to open vm-console through api in C#

Hi,

Is it possible to open vm console through api ?

In powercli , we use Open-VMConsoleWindow to perform this task.

Is there a method in api through which the open vm console can be done ?

please suggest some ways....Examples would be of great help !!

Thanks.

0 Kudos
2 Replies
LucD
Leadership
Leadership

Afaik there is no public API method for this.

This cmdlet works through the VMRC webclient plugin, as is documented in Opening the Virtual Machine Remote Console through PowerCLI


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

0 Kudos
madhanSakthi
Contributor
Contributor

Is there any other way through which the console can be opened. ?

I ve tried “C:\Program Files\Common Files\VMware\VMware VMRC Plug-in\Firefox\vmware-vmrc.exe” -X -h Host -u User -p Password “[datastore1] VM/VM.vmx”

This method pops up a message box saying :

player.jpg

0 Kudos