(2019-04-01)
Problem
I have an MAC address which apparently belongs to a VM in my cluster, how do I figure out which VM owns this MAC address?
Solution
PowerCLI:
> Connect-VIServer myserver
> Get-VM | Get-NetworkAdapter | Where <_.MacAddress -eq "00:50:56:12:34:56"> | Select-Object Parent,Name,MacAddress