For When You Can't Have The Real Thing
[ start | index | login ]
start > VMware > ESXi > 6.0 > vCLI > Identify a VM by MAC address

Identify a VM by MAC address

Created by dave. Last edited by dave, 205 days ago. Viewed 315 times. #3
[diff] [history] [edit] [rdf]
labels
attachments
(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
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt