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

Leave a Reply

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

Discover more from

Subscribe now to keep reading and get access to the full archive.

Continue reading