online11
Contributor
Contributor

Hi LucD, thanks for your reply. according to your reply I have updated the script. Now looks like this. Please see attached jpeg.

script.JPG

Sorry to ask here cause I am really new to scripting.

If I have 4 VMs here.

VM1 and VM2 on ESX3

VM3 and VM4 on ESX4

This script adds new disk to VM1 and VM2 but not adding on VM3 and VM4. Error message says Invalid configuration  for device "0"

Can you spot why?

Thanks a lot.

Reply
0 Kudos