qm showcmd

Show command-line which is used to start the VM (debug info). More information: https://pve.proxmox.com/pve-docs/qm.1.html.

qm showcmd vm_id

qm showcmd --pretty true vm_id

qm showcmd --snapshot string vm_id