Unregister a VM within VMware Fusion from command line Is there anyway of unregistering a virtual machine on OSX using the command line with VMware Fusion (so that the VM can then be deleted)?

I've looked around, and found this thread, which suggests 


  manually remove the VM from inventory before running the DeleteVM command


But where is this inventory? Or is there a better way of unregistering a machine via the command line?
There doesn't seem to be a "proper" way of unregistering a virtual machine sadly.

I went around this by stopping the virtual machine using vmrun in Fusion, deleting the source folder of the VM, and restarting Fusion so that the application registers that the VM is not there anymore.