VMware Cloud Community
crosen
Contributor
Contributor

Create VMs from CSV file won't go through entire list

I am running the create-vm-cvs-v17.ps1 script and it is only creating the first VM in the CSV file.

0 Kudos
6 Replies
LucD
Leadership
Leadership

Could you perhaps include a link to where you got this script ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
crosen
Contributor
Contributor

0 Kudos
LucD
Leadership
Leadership

That's Rob's script.

Anything in the log files ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
crosen
Contributor
Contributor

Yeah, looks like it is just stopping after each one. Until I have a resolution I just keep updating my csv file and starting over.

2009-3-17 10:48:33 TEMPLATE: dracotemp BESTAAT

2009-3-17 10:48:35 DATASTORE: dsRTPVMware70010 BESTAAT

2009-3-17 10:48:36 RESOURCEPOOL: 001.8.8.70HC.888-ACQPOC BESTAAT

2009-3-17 10:48:36 FOLDER: 001.70.888-ACQPOC BESTAAT

2009-3-17 10:48:37 TEMPLATE: dracotemp BESTAAT

2009-3-17 10:48:38 VIRTUAL MACHINE BESTAAT NIET

2009-3-17 10:48:38 VIRTUELE MACHINE: POC105 WORDT GEDEPLOYED

2009-3-17 10:48:43 VIRTUAL MACHINE BESTAAT AL

2009-3-17 10:48:43 VIRTUAL MACHINE: POC154 MAG NIET WORDEN VERWIJDERD

2009-3-17 10:48:46 Finished

2009-3-17 10:48:47 DATASTORE: dsRTPVMware70010 BESTAAT

2009-3-17 10:48:48 RESOURCEPOOL: 001.8.8.70HC.888-ACQPOC BESTAAT

2009-3-17 10:48:48 FOLDER: 001.70.888-ACQPOC BESTAAT

2009-3-17 10:48:49 TEMPLATE: dracotemp BESTAAT

2009-3-17 10:48:55 VIRTUAL MACHINE BESTAAT NIET

2009-3-17 10:48:55 VIRTUELE MACHINE: POC155 WORDT GEDEPLOYED

2009-3-17 10:49:3 Finished

0 Kudos
crosen
Contributor
Contributor

There is a timeout value in between cloning VMs and I thought it had hung. After updating that value it is working great now. Thanks.

0 Kudos
RobMokkink
Expert
Expert

In the new version, it removed the timeout, it now checks when the tasks is finished.

You will have to wait a couple of weeks, this week i have CEH training (6days in a row)

0 Kudos