Example:
New-vm -vmhost ESXHOST -Name VMNAME -Template TEMPLATE -Datastore DATASTORE -OSCustomizationspec CUSTOMSPEC
Don´t know if you want to be a little more "sophisticated" but if so, you can build a pretty nice script that gets the templates, customspecs, datastore, vm name and you just answer those questions and deploys the machine with that input ..
-Kenth
i want to create 5 the vm using single script , please send me any Example.
ah okey.
You got examples all over internet, maybe this one will work for you? ..:
http://mattlog.net/2010/07/21/auto-deploy-multiple-vmware-virtual-machines/
- Kenth