- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
$_.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.