VMware Cloud Community
aravinds3107
Virtuoso
Virtuoso
Jump to solution

Creating VM using Power CLI

Hi,

I am tying to deploy VM's using power CLI but i get the below error as below:

I am using the below script to deploy VM from exisitin template

New-vm -Name testvm005 -VMhost host -Template TMPL_W2K3_STD_SP2_R2_x86 -Datastore datstorename  -OSCustomizationspec W2K3-ENT-R2-SP2-32bit

New-VM : 5/25/2011 10:37:09 AM    New-VM        The specified parameter 'Templa
te' expects a single value, but your name criteria 'TMPL_W2K3_STD_SP2_R2_x86' c
orresponds to multiple values.

Can somone help me out on this...

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
0 Kudos
20 Replies
max08
Contributor
Contributor
Jump to solution

Thanks for all your help!

0 Kudos