never-displayed
View discussion in a popup
$_.Guest.Hostname is not the ESXi host, it's the name of the VM. You could see the host by selecting Get-VMhost -id $_.Runtime.Host, since you're using Get-View.