I am trying to setup an automation script to read from a file and create 10-20 VMs at a time. I am not haveing issue getting the information for the script, or the syntax, but I am curious how you create a VM in a specific Cluster within a Datacaenter. I have multiple datacenters and clusters, and I need to create the vms in the correct location. With the new-vm command, it does not give you an option to specify a cluster, it is looking for a specific host.
I am sorry if this has been asked beofre, but I did search around the forums and web and could not find the answer to a specific cluster installation.
You may want to post your question in the PowerCLI specific community - http://communities.vmware.com/community/vmtn/vsphere/automationtools/powercli
VMware vExpert 2009,2010
If you find this information useful, please award points for "correct" or "helpful".