To find a VM with a specific IP address or prefix, you can use grep or the PowerShell “where” cmdlet:

GetVM | select name, {$_.Guest.IPAddress} | grep "1.2.3"
GetVM | where { $_.Guest.IPAddress -eq "1.2.3.4" }

To list all VMs with their IP Addresses, sorted by VM Name or IP Address:

GetVM | select name, @{ Name = "IPAddress"; Expression = { $_.Guest.IPAddress }} | sort Name
GetVM | select name, @{ Name = "IPAddress"; Expression = { $_.Guest.IPAddress }} | sort IPAddress