Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: Find VM Name from OS Hostnsme

$
0
0

Provided you have the VMware Tools installed on the VM, you can do

 

$hostname=”windowshostname”

Get-VM|where-object{$_.Guest.HostName-eq$hostname}


Viewing all articles
Browse latest Browse all 49146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>