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 powercli, 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
  • Folder where you want to keep the VM
  • Name prefix of the virtualisation

Default image
Vignesh A Sathiyanantham
AWS Certified developer with 8 years of extensive experience working for Cloud and Datacenter solutions and leading a small team in a lean startup based on Bangalore, India
Leave a Reply

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