Check MAC addresses for all VMs

Written by Pawel Lakomski on Luty 15th, 2013

A quicker – how to check MAC addresses assigned to all VMs:

Get-VM | Select-Object -Property Name,@{N=”MacAdresses”;E={$_.NetworkAdapters | ForEach-Object {$_.MacAddress}}},VMHost

The script found here. After a small modification it can show MACs for VMs in a resource pool, VMs filtered by name, etc.

 

Leave a Comment