VMware Cloud Community
Nijeesh
Contributor
Contributor

PowerCLI script for creating multiple virtual machine using Excel file and template.

Anyone can help to get PowerCLI script for creating multiple virtual machine.

Details

I have a template with base configuration (Disk 100GB, 2CPU, 12GB memory, 2nic).

Created customization specification manager with below configuration

Owner Name: abc

Organization name: abc

Computer name: Virtual machine name

Administrator password: ****

NIC 1 : use DHCP

NIC 2 : Use DHCP

Join workgroup: workgroup

Generate new SID : true

Using the attached excel file, the script need to create 5 virtual machine and assign the ip address, subnet and gateway. 

Thank you in advance..!!

Tags (1)
0 Kudos
2 Replies
LucD
Leadership
Leadership

Did you check out the great blog post series called Working with Customization Specifications in PowerCLI Part 1, Part 2 and Part 3 ?

These posts answer all of your questions


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

0 Kudos
Nijeesh
Contributor
Contributor

Yes, I have gone through this, badly I don’t have a past experience with script and I have to create 240 virtual machine with an urgent base. Can you suggest any ready script which I can use for my requirement .

0 Kudos