Monday 4 August 2014

VBoxManage common commands

VBoxManage list vms
VBoxManage list runningvms
VBoxManage list hdds (gets size of vdi)
VBoxManage showvminfo <vm name>
VBoxManage clonevm <existing vmname> --name <new vm name> --basefolder <path> --register --mode all
VBoxManage modifyvm <vm name> --ostype Linux
VBoxManage modifyvm <vm name> --memory 8192
VBoxManage modifyhd "<path to .vdi file>" --resize 32768
VBoxManage registervm “path to .vbox file”
VBoxManage startvm <vm name> --type headless
VBoxManage guestproperty enumerate <vm name> | grep IP
VBoxManage snapshot list <vm name>
VBoxManage snapshot <vm name> take <new snapshot name>
VBoxManage snapshot <vm name> restore <snapshot name>
VBoxManage controlvm <vm name> poweroff
VBoxManage controlvm <vm name> savestate

No comments:

Post a Comment