Help us understand the problem. What is going on with this article?

Virtualboxの仮想マシンをコマンドラインから操作

既出ですが

一覧表示

$ VBoxManage list vms
"ubuntu_130464" {2cbe2351-acc8-4a11-9636-d2a4827e3eaa}
"windowsxp" {431511a2-42ae-419d-9395-4d90b20f1b24}

起動

$ VBoxManage startvm "windowsxp" --type headless

起動中一覧

$ VBoxManage list runningvms

シャットダウン開始

$ VBoxManage controlvm ubuntu_130464 acpipowerbutton
$ VBoxManage controlvm windowsxp acpipowerbutton

電源OFF

$ VBoxManage controlvm ubuntu_130464 poweroff 
$ VBoxManage controlvm windowsxp poweroff

サスペンド

$ VBoxManage controlvm ubuntu_130464 savestate
$ VBoxManage controlvm windowsxp savestate
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away