Hello,
I have about 100 2008 R2 servers all running the E1000 nic. I would like to script moving them all to vmxnet3 but keeping the IP config. How can this be accomplished?
I am on ESX 5.1 and Vcenter 5.1
Hi,
Keep all vm's Vmtools is updated, the use below script.
Get-VM <VM Name> | Get-NetworkAdapter | Set-NetworkAdapter -type "vmxnet3"
Will this keep the IP config in Windows or will it install a new NIC?
Your IP config will be lost, see also Re: PowerCli Migration from E1000 to vmxnet3 issues
Use below kb to backup and restore IP configuration in the vm.
VMware KB: Virtual NIC settings on a Windows guest are lost after a virtual hardware upgrade
You can use the Get-VMGuestNetworkInterface to get the IP info from the e1000 and use Set-VMGuestNetworkInterface to set this address on the vnxnet3. The vmtools need to be running as this operates through eh tools