In vSphere, you can use the Generate Virtual Machine Shortcut feature to create a URL.
To generate a URL link in vSphere you must verify that :
- The Client Integration Plugin is installed in your web browser.
- The virtual machine has a guest operating system and VMware Tools are installed.
- The virtual machine is powered on.
To generate the URL link:
- Log in to the vCenter Server using the vCenter Server Web Client.
- Select the datacenter, folder, cluster, resource pool, host or vApp and click the Related Objects tab.
- Select the virtual machine for which you want to generate a URL.
- Click the Summary tab for the virtual machine.
- Click Launch Console.
Note: The virtual machine console opens in a new tab of the web browser, which contains the URL.
- Copy and paste the URL into a web browser, then authenticate the vCenter Server upon login.
Note: You require permissions on at least the virtual machine level.
Workaround:
Alternatively use VMRC for smooth and easy access.
- Identify the VM's MOID by navigating to the VM object in the vCenter UI left hand side inventory panel.
- When you click on the VM object, the URL will change. In the URL, there will be a section similar to:
?extensionId=vsphere.core.vm.summary&objectId=urn:vmomi:VirtualMachine:vm-531
Here the VM's MOID is: vm-531
- Copy and paste the below URL into a web browser, and replace <vCenterFQDN-or-IP> and <VM MOB ID> as appropriate,
vmrc://<vCenterFQDN-or-IP>/?moid=<VM MOB ID>
Example:
vmrc://vcenter.domain.local/?moid=vm-531