I have a virtualization host (could be either VSphere or SCVVM) that has four NICs, two 1 gbps and two 10 gbps. This machine hosts a VM on two vSwitches with unique names (such as vSwitch0 and vSwitch1), one is on a 1 gbps NIC and the other on a 10 gbps NIC.
This VM is generated automatically through a long powershell process that creates the imports vm definition & empty virtual disk, installs the OS, installs other software, etc.
My problem is that in the guest OS (Server 2012 R2) the network adapters are simply labeled 'Ethernet Adapter' and 'Ethernet Adapter 1'. I cannot tell which is on 'vSwitch0' or 'vSwitch1'. I need each adapter to have a very specific IP based upon which virtual switch it is connected to.
Any ideas? I need to somehow configure this in the powershell script that configures the guest OS.
Thanks in advance!