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