Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 193198

How To Create VMs in vCenter From Template Using Powershell

$
0
0

Hey Guys,

 

I am new to powershell. Currently reading and learning. I need to create a script to do following task in vsphere.

 

1. Create 600 vms using a template

2. Each VMs must have an identical name with the exception of the last three digits. example:

hostname: test001 - test600

3. Create the vms on a cluster of 6 esxi hosts. randomly pick a host when creating the vm.

example

cluster A

esxi-host1

esxi-host2

esxi-host3

esxi-host4

esxi-host5

esxi-host6

4. specific datastore (lun-1)


Viewing all articles
Browse latest Browse all 193198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>