Execute a specific command via a guest agent. More information: https://pve.proxmox.com/pve-docs/qm.1.html.
qm guest exec vm_id command argument1 argument2 ...
qm guest exec vm_id argument1 argument2 ... --synchronous 0
qm guest exec vm_id argument1 argument2... --timeout 10
stdin
until EOF to the guest agent:qm guest exec vm_id argument1 argument2 ... --pass-stdin 1