
/run/pve/import/esxi/<storage-name>/mnt/ha-datacenter/<datastore-on-ESXi>/scsi0:0.deviceType = "scsi-hardDisk"scsi0:0.fileName = "Windows Server 2025.vmdk"esxi-pass/usr/libexec/pve-esxi-import-tools/listvms.py <ESXi ip/host> root esxi-pass --skip-cert-verification > /tmp/vms.jsonjq for accessing and filtering the data.pvesh) is probably the best approach. If you are unsure which calls are of interest, do the procedure via the web UI and take a look at the browser's developer tools, especially the network tab, to see which API calls are involved in each step.We use essential cookies to make this site work, and optional cookies to enhance your experience.