VMware Script – Get VMs and their IP (from VMware Tools) Post author:Noah Huotari Post published:June 8, 2021 Post category:PowerCLI Scripts Post comments:0 Comments Get-VM | Select Name, @{N="IP Address";E={@($_.guest.IPAddress[0])}} If you also want to get the Guest OS: Get-VM | Select Name, @{N="IP Address";E={@($_.guest.IPAddress[0])}}, @{N="Guest OS"; E={$_.ExtensionData.Config.GuestFullName}} You Might Also Like VMware Script – Get all VMs and their disk locations on a datastore June 8, 2021 VMware Script – Get VMs with RDMs June 8, 2021 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.