21 lines
676 B
Markdown
Raw Normal View History

# qm destroy
> Destroy a virtual machine in QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_destroy>.
- Destroy a specific virtual machine:
`qm {{[des|destroy]}} {{100}}`
- Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration:
`qm {{[des|destroy]}} {{100}} --destroy-unreferenced-disks`
- Destroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.):
`qm {{[des|destroy]}} {{100}} --purge`
- Destroy a specific virtual machine ignoring locks and forcing destroy:
`sudo qm {{[des|destroy]}} {{100}} --skiplock`