Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to automatically create virtual machines using vSphere / ESXi? How would I go about doing that?

I have a script to automatically create + install windows on a VM using VirtualBox. It makes the VM, mounts the CD (which is an unattended XP install resulting in machine shutdown), then unmounts the CD when it notices the machine is off. Can I do something similar w/ vmware's stuff?

both VirtualBox and XenCenter have command line utilities which do things like let you turn machines on/off. Is there an equivalent cmd line utility for vsphere / ESXi?

share|improve this question
up vote 2 down vote accepted

Sure. I thought you are interested in the official documentation.

Edit: Ok, I could have copied the complete step-by-step guide from here. But that would also be too much for an answer.

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Iain Aug 3 '11 at 22:12
The documentation is a 150 pages PDF with hundreds of options and parameters depending on the task and the context. Unspecified questions lead to unspecified answers. – mailq Aug 3 '11 at 22:28
aye no need for him to do my work for me. i was really looking to see where i could get the command line tool – Claudiu Aug 3 '11 at 22:32

The Orchestration part of vCenter is particularly good at this, it can tie into your networking and storage too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.