To retrieve the list of supported GuestOSes, you'll want to use the QueryConfigOption() method http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.EnvironmentBrowser.html#queryConfigOption which is part of the EnvironmentalBrowser. I've been meaning to do a blog post on this as I've seen this question pop up a few times. Let me see if I can get out an example script
↧