Deploying multiple virtual machines from template using vSphere powercli

Deploying a virtual machine from a template is an easy task but cloning a virtual machine will maintain its computer name, serial number and the license information and deploying multiple Virtual machines for dev test is also a painful job

We can achieve it more easily using vSphere , modify the below script according to your lab details and run it

Change the

  • vCenter Host
  • Credentials ( username and password )
  • Number of VM to deploy
  • From which template you want to create a clone
  • OS Custom specification
  • To which datastore you want to clone the virtual machines
  • To which ESXi node you want to attach the VM
  • where you want to keep the VM
  • Name prefix of the virtualisation

See the gist on github.

This site uses Akismet to reduce spam. Learn how your comment data is processed.