Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251495

Re: get network name

$
0
0

If you change the line:

 

$row | Add-Member -Type NoteProperty-Name$NIC_vSwitch-Value$vNic.NetworkName

into:

 

$row | Add-Member -Type NoteProperty-Name$NIC_vSwitch-Value ($vm_nameGet-NetworkAdapter | Where-Object {$_.MacAddress -eq$vNic.MacAddress}).Name

 

then it will also work for vSphere 4.


Viewing all articles
Browse latest Browse all 251495

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>