Forrest logo
back to the qm tool

qm-destroy:tldr:639c1

qm-destroy: Destroy a specific virtual machine.
$ qm destroy ${vm_id}
try on your machine

The command "qm destroy ${vm_id}" is used to destroy a virtual machine (VM) in the Proxmox Virtual Environment (PVE).

Here's a breakdown of the command components:

  • "qm" is the command-line interface (CLI) tool provided by Proxmox for managing virtual machines.
  • "destroy" is the command to remove or delete a virtual machine.
  • "${vm_id}" is a placeholder for the ID of the virtual machine to be destroyed. The actual ID value should be provided when executing the command.

To use this command, you need to replace "${vm_id}" with the ID of the specific virtual machine you want to destroy. The VM ID can be obtained from the Proxmox GUI or by running an appropriate command like "qm list" to display the list of VMs and their IDs.

Please note: Destroying a virtual machine will permanently remove it, including all its data and configurations. Use this command with caution.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the qm tool