You add virtual machines to the vCenter Server inventory through their managed hosts. You can remove virtual machines from vCenter Server, from their managed host’s storage, or from both.
Adding Existing Virtual Machines to vCenter Server When you add a host to vCenter Server, it discovers all the virtual machines on that managed host and adds them to the vCenter Server inventory.
Remove Virtual Machines from vCenter Server When you remove a virtual machine from the inventory, you unregister it from the host and vCenter Server , you do not delete it from the datastore. Virtual machine files remain at the same storage location and you can later re-register the virtual machine by using the datastore browser. This capability is useful if you need to unregister a virtual machine to edit the virtual machine's configuration file. The ability to remove a virtual machine and maintain its files is useful when you have reached the maximum number of virtual machines that your license or hardware allows.
Remove Virtual Machines from the Datastore If you no longer need a virtual machine and want to free up space on the datastore, you can remove the virtual machine from vCenter Server and delete all virtual machine files from the datastore, including the configuration file and virtual disk files.
Register a Virtual Machine with vCenter Server If you removed a virtual machine from vCenter Server but did not remove it from the managed host's datastore, you can return it to the vCenter Server inventory by registering it with the vCenter Server.