Find MAC addresses used in VMware

The following 1 line powershell commands will help you find all the MAC addresses used in VMware for the VMs and VMKernel nics.

List all ESX host MAC addresses

get-vmhost | get-vmhostnetworkadapter | export-csv d:tempVMHost.csv

List all guest VM MAC addresses
get-vm | get-networkadapter | export-csv d:tempVMAdapter.csv

Comments