amarcy
Contributor
Contributor

Sorry for the late reply.  I understand that $_.Guest.Hostname returns the VM machine name.  My problem is that the query is returning nothing in the second part of my select statement.  The first column should return the VM name, and the second column should return the VM machine name.  I don't know why it's not returning the latter. 

And just to clarify, I'm not interested in the ESXi host name.  Thanks.

Reply
0 Kudos