VMware {code} Community
Arjun18
Enthusiast
Enthusiast

Which VMware sdk 4.1 method is used to fetch supported Guest operating systems list?

Which VMware sdk 4.1 method is used to fetch supported Guest operating systems list and its versions?

4 Replies
lamw
Community Manager
Community Manager

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

Arjun18
Enthusiast
Enthusiast

Thank you Lamw. May I get exact method?

Reply
0 Kudos
Arjun18
Enthusiast
Enthusiast

Any updates?

Reply
0 Kudos
lamw
Community Manager
Community Manager

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