Which VMware sdk 4.1 method is used to fetch supported Guest operating systems list and its versions?
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#... 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
Thank you Lamw. May I get exact method?
Any updates?
The exact method was already provided in my last reply which is QueryConfigInfo()
Take a look at this blog for an example on how to use the method http://blogs.vmware.com/vsphere/2013/03/which-guest-oses-are-supported-in-vsphere.html