Version 2

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


    [vi-admin@scofield ~]$ ./ --server
            [Network adapter 1] : 00:50:56:b0:0d:dc
            [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.