- Deleting a VM via GUI
Select the VM you want to delete.
If the machine is running, click the Shutdown button before moving on to the next step. The VM has to be shut down or stopped.
Select More to open a drop-down menu and click Remove.
To confirm, enter the VM ID and click Remove.
2. Deleting a VM via Command Line
Find the VMID (virtual machine ID) in the VM list by running the command:
Shut down or stop the VM by running:
qm stop [vmid]
qm destroy [vmid]