How To Change Virtual Machine Network Adapter Type Using vSphere PowerCLI

Today, I would like to share how to change VMware virtual machine (VM) network adapter type using vSphere PowerCLI. Make sure the VM is shutdown. Below is the one liner command you can change the network adapter type: –

get-vm virtual_machine_name | get-networkadapter | set-networkadapter -type "vmxnet3"

To know what network adapter available, you can visit VMware KB1001805. You need to power up the VM after the successful change of network adapter type. Thank you and enjoy.