Nazaudy, a spark in your curious mind

How to remove invalid VMs from ESXi

In this article we'll have a look at How to remove invalid VMs from ESXi host. This is something that you may encounter occasionally if you host crashed or more frequently when the data store has become corrupted and the VMs that resided on them become invalid

invalid VMs from ESXi


For this example, we are working with a ESXi host version 6.0 update 3 build 6921384

To remove the invalid VMs from the ESXi host, logon to the shh console of the affected host and run this command to list all the VMs running in your host

vim-cmd /vmsvc/getallvms


 List the invalid VMs




If you have enjoyed reading this article about how to remove invalid VMs from ESXi, you might like this other one too:







Backup is paramount