If you want to get the info from VC you can try this...
$vms = get-vm
foreach ($vm in $vms) {
if ((Get-NetworkAdapter $vm).MacAddress -match "XX:XX:XX:XX:XX:XX") {
$vm | fl
}
}
From vCloud Director:
$vms = get-civm
foreach ($vm in $vms) {
if ( $vm.ExtensionData.GetNetworkConnectionSection().NetworkConnection[0].MACAddress -match "XX:XX:XX:XX:XX:XX") {
# if you have multiple nics you will need to edit the above.
$vm | fl
}
}
Blog: http://mypowercli.wordpress.com | Twitter: @Danger0u5