Category Archives: VMware

VMware Workstation, ESXi

VMware vSphere: Cannot register a virtual machine in inventory: A virtual machine or template having the same name is already registered

Hi,

a customer had the problem that a virtual machine is shown as invalid or orphaned. After removing from inventory (not from disk) he couldn’t register the vm again: “A virtual machine or template having the same name is already registered”

This could have multiple causes:
Continue reading VMware vSphere: Cannot register a virtual machine in inventory: A virtual machine or template having the same name is already registered

Advertisment to support michlstechblog.info

VMware: Generate an URL for a VM Console Session

Hi,

with PowerCli it is simply possible to generate an direct Link to accessing a VM’s Console without clicking through the whole vSphere Tree.

The anatomy of the URL is
https://%vCenterFQDN%:9443/vsphere-client/vmrc/vmrc.jsp?vm=urn:vmomi:VirtualMachine:%MoRef%:%vCenterUUID%
Continue reading VMware: Generate an URL for a VM Console Session

VMware: Execute scripts by Invoke-VMScript as Administrator

Hi,

this post addresses the issue that, when Windows UAC is enabled, you could not execute scripts with elevated Administrator permissions by PowerCli’s Invoke-VMScript. In my opinion when I execute scripts on VMs in more then 80% of these cases I need elevated user rights.
Continue reading VMware: Execute scripts by Invoke-VMScript as Administrator