Want to quickly get the ip and mac address for your esxi hosts?
Use this powercli command
get-vmhost | Get-VMHostNetworkAdapter | select VMHost, DeviceName, Mac, IP, ExtensionData
You get the hostname, device name, mac, ip and see if it's physical or virutal
Other useful options to select are:
WakeOnLanSupported, VMHostId, DhcpEnabled, SubnetMask
0 comments:
Post a Comment