VBoxManage list vms
VBoxManage list runningvms
VBoxManage startvm <VMNAME> --type headless
VBoxManage controlvm <VMNAME> acpipowerbutton
VBoxManage controlvm "<VM-ID>" reset
- For a particular VM
VBoxManage showvminfo <VMNAME> | grep "VRDE"
- For all VMS
for vm in $(VBoxManage list vms | awk -F'"' '{print $2}'); do echo "VM Name: $vm"; VBoxManage showvminfo "$vm" | grep "VRDE"; echo "------------------"; done
- For a particular VM
VBoxManage showvminfo <VMNAME> --machinereadable | grep 'Forwarding'
- For all VMS
for vm in $(VBoxManage list vms | awk -F'"' '{print $2}'); do echo "VM Name: $vm"; VBoxManage showvminfo "$vm" | grep 'Forwarding'; echo "------------------"; done
- For a particular VM
VBoxManage modifyvm <VMNAME> --vrde on VBoxManage modifyvm <VMNAME> --vrdeport <VM-VRDE-PORT>
VBoxManage unregistervm "<VM-ID>" --delete