never-displayed
View discussion in a popup
Provided you have the VMware Tools installed on the VM, you can do
Get-VM | where-object {$_.Guest.HostName -eq $hostname}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
View solution in original post