You can remove VMs from command-line.
Try this:
Delete a VM | Remove-VM vm_name -deletepermanently
| vmware-cmd --server esxhost –s unregister path_to_vmx_file
vmware-cmd --server vcenter --vihost esxhost –s unregister path_to_vmx_file vifs --server esxhost --rm “[datastore] path_to_vmx_on_datastore”
| vim-cmd vmsvc/destroy vmid
|
Also take a look at:
Performing common virtual machine-related tasks with command-line utilities (2012964) | VMware KB
-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/