Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

How to delete a broken VM which is still in 'Powered On' state?

$
0
0

This one is really a headscratcher gang.  I have a VM which should have been removed from a vCenter long ago.  I was attempting to remove it the normal way, but it wasn't going anywhere; just giving an error.  When I looked at the files in the VM's folder, nearly all were gone (vmx, log, vmdk).  There were a few files called -flat.vmdk, but I wasn't able to do anything with them.  I SSH'd into the host and found the VMs folder, but couldn't delete anything that way either.  All this, yet the VM is still showing as Powered On.

 

I seem to recall that there was a way to remove VMs like this; i believe in CLI.  However, I can't remember it and now my mind has locked up in frustration for not being able to get this thing to leave.

 

Does anyone know how to get rid of an unwanted, powered, yet corrupt VM?  Particularly, if anyone knows how to do it in our 'Tool of Tools' aka PowerCLI.

 

Thanks in advance,

Miguel


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>