If you remove a virtual machine or template from a host, but do not remove it from the host’s datastore, you can return it to the host's inventory by using the Datastore Browser.

Procedure

  1. In the vSphere Client, navigate to Home > Inventory > Datastores and Datastore Clusters.
  2. Right-click the datastore and select Browse Datastore.
  3. Navigate to the virtual machine or template folder to add to the inventory.
  4. Right-click the virtual machine or template .vmx file and select Add to Inventory.
  5. Complete the Add to Inventory wizard to add the virtual machine or template.