Automation

 View Only
  • 1.  How to open vm-console through api in C#

    Posted Jun 07, 2015 07:28 PM

    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.



  • 2.  RE: How to open vm-console through api in C#

    Posted Jun 08, 2015 08:02 AM

    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



  • 3.  RE: How to open vm-console through api in C#

    Posted Jun 10, 2015 04:57 PM

    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 :