Hi, do you know after i add a NIC to a VM how can i identify the NIC and configure settings to it: IP, gateway, subnet mask, dns. I have a powershell script to do that in windows but still need to figure out how to tell the script which NIC to apply the config too. I could pass the MAC address but would need to find out which is the MAC of the new NIC, is there a better way using the vSphere API so that i can use it both in win and linux? thanks
↧