Reply to Message

View discussion in a popup

Replying to:
DZ1
Hot Shot
Hot Shot

$_.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.

Reply
0 Kudos