I've been running into this issue as well. I've found several scripts online for deploying multiple VMs but everyone of them seems to not work for setting the IP and has a similar error.
running 5.5 vCenter and hosts and this script Deploying multiple VMs via PowerCLI – Updated v1.2 | Shawn Masterson's Blog
11/20/2015 8:19:04 AM | Set-OSCustomizationNicMapping |
Required property ip is missing from data object of type CustomizationIPSettings
while parsing serialized DataObject of type vim.vm.customization.IPSettings
at line 1, column 1629
while parsing property "adapter" of static type CustomizationIPSettings
while parsing serialized DataObject of type vim.vm.customization.AdapterMapping
at line 1, column 1614
while parsing property "nicSettingMap" of static type ArrayOfCustomizationAdapterMapping
while parsing serialized DataObject of type vim.vm.customization.Specification
at line 1, column 562
while parsing property "spec" of static type CustomizationSpec
while parsing serialized DataObject of type vim.CustomizationSpecItem
at line 1, column 335
while parsing call information for method OverwriteCustomizationSpec
at line 1, column 218
while parsing SOAP body
at line 1, column 207
while parsing SOAP envelope
at line 1, column 38
while parsing HTTP request for method overwrite
on object of type vim.CustomizationSpecManager
at line 1, column 0 |