Originally published April 17, 2017 @ 11:16 am
This is a quick PowerCLI script that reads from a list of VM names and for each VM with network adapter type “E1000” changes it to “Vmxnet3”. Nothing fancy, no reboot is needed. MAC should stay the same, but this depends on your cluster network configuration.
Set-PowerCLIConfiguration -Scope Session -WebOperationTimeoutSeconds -1 -Confirm:$false; Import-Module VMware.VimAutomation.Vds; $VMHost="vcenter01.domain.com"; Connect-VIServer -Server $VMHost -User 'DOMAIN\User' -Password 'Password1'; foreach($line in Get-Content C:\vm_list.txt) { Get-VM "$line" | get-networkAdapter | Where { $_.Type -eq "E1000"} | set-NetworkAdapter -Type "Vmxnet3" -confirm:$false }
Experienced Unix/Linux System Administrator with 20-year background in Systems Analysis, Problem Resolution and Engineering Application Support in a large distributed Unix and Windows server environment. Strong problem determination skills. Good knowledge of networking, remote diagnostic techniques, firewalls and network security. Extensive experience with engineering application and database servers, high-availability systems, high-performance computing clusters, and process automation.