Quantcast
Channel: VMware Communities : Popular Discussions - vSphere Management Assistant (vMA)
Viewing all articles
Browse latest Browse all 25377

vMA 5 vmware-cmd getguestinfo displayName

$
0
0

I read somewhere that you could retrieve any information stored in the .vmx using vmware-cmd getguestinfo <variable>.  I've been playing with this a little, and while it does return a number of the items contained in the .vmx, it does not return the displayName.

 

Is there any other way to programmatically retrieve the machine name (or displayName in my case because I keep them matching)? 

 

The documentation leads me to creating custom variables and setting this information, but that's a lot of work to create the variables for all the VM's, especially if it's available some way that I just haven't found yet.

 

Thanks!

 

d


Viewing all articles
Browse latest Browse all 25377

Trending Articles



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