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

VirtualBox の VM をコマンドラインから管理する

よく使うコマンドをピックアップ。

VM の一覧

$ VBoxManage list vms

動作中の VM 一覧

$ VBoxManage list runningvms

VM を起動する

  • Video コンソール有り: $ VBoxManage startvm "Windows8Pro"
  • Video コンソール無し: $ VBoxManage startvm "Windows8Pro" --type headless

VM を停止する

  • 電源off: $ VBoxManage controlvm poweroff
  • ACPI シャットダウン: $ VBoxManage controlvm acpipowerbutton

スナップショット

  • 作成: $ VBoxManage snapshot "Windows8Pro" take "win-tmp"
  • 削除: $ VBoxManage snapshot "Windows8Pro" delete "win-tmp"
  • 一覧: $ VBoxManage snapshot "Windows8Pro" list
  • リストア: $ VBoxManage snapshot "Windows8Pro" restore "win-tmp"

その他のコマンド

$ VBoxManage help

長大なリストが表示される。GUI で操作できることは、ほぼ網羅されているっぽい。

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
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  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