Removing a virtual machine from the inventory unregisters it from the host, but does not delete it from the datastore. Virtual machine files remain at the same storage location and the virtual machine can be re-registered by using the datastore browser.
Power off the virtual machine.
- In the vSphere Client inventory, right-click the virtual machine and select Remove from Inventory.
- To confirm that you want to remove the virtual machine from the inventory, click Yes.
The host removes references to the virtual machine and no longer tracks its condition.