VMware {code} Community
Cravin
Contributor
Contributor

Help: How to get the virtual machine web link by API/CLI?

Dear All,

On ESX VI client GUI, I can get a web link, like

'https://10.10.20.1/ui/vmDirect.do?view=d3NVcmw9aHR0cDovL2xvY2FsaG9zdC9zZGsmdm1JZD1WaXJ0dWFsTWFjaGluZXx2bS0xNiZ1aT0zNg==_'

for each virtual machine.

However, how can I do this by using API or CLI?

Thank you.

0 Kudos
1 Reply
admin
Immortal
Immortal

There is no API to create a Web URL of a virtual machine, however you can accomplish this using MKS control. Please refer http://communities.vmware.com/thread/98422 for more details.

0 Kudos