Get VM ethernet info and state


PowerCLI > Get-VM -Name builder2 | Get-NetworkAdapter| Format-List -Property \*

MacAddress       : 00:50:56:90:34:9d
WakeOnLanEnabled : True
NetworkName      : Network 158.196.149.0
Type             : e1000
ParentId         : VirtualMachine-vm-4650
Parent           : builder2
Uid              : /VIServer=administrator@vcs1.vsb.cz:443/VirtualMachine=Virtu
                   alMachine-vm-4650/NetworkAdapter=4000/
ConnectionState  : Connected, GuestControl, StartConnected
ExtensionData    : VMware.Vim.VirtualE1000
Id               : VirtualMachine-vm-4650/4000
Name             : Network adapter 1
vmware