Here is a simple but handy PowerCLI one liner which can output the VM name and it’s IP address. Connect-VIServer  <name> <credentials> Get-VM $VM | Select Name, @{N="IP Address";E={@($_.guest.IPAddress[0])}} or get-vmguest $VM | select VM,IPADDRESS VM                IPAddress --                  --------- vmname      {192.168.1.35, <ipv6 address>}