VMware

getAllVMMacs.pl

VERSION 2 Published

Created on: Aug 7, 2009 4:09 PM by lamw - Last Modified:  Aug 7, 2009 4:12 PM by lamw

Extract MAC Addresses for all VMs residing on either vCenter or individual ESX(i) 3.5+ or 4.0 host

[vi-admin@scofield ~]$ ./getAllVMMacs.pl --server simplejack.primp-industries.com
ghettoVCB4i-test-vm-backup
        [Network adapter 1] : 00:50:56:b0:0d:dc

ide-vm
        [Network adapter 1] : 00:50:56:99:2f:15
        [Network adapter 2] : 00:50:56:99:2f:16

The label Network adapter is what is shown in the vSphere Client under VM configuration, it does not necessary match up to eth0,1,etc.

Attachments:
Average User Rating
(1 rating)




Comments

There are no comments on this document

 

Developer Social Media

Communities