node-vsphere
node-vsphere copied to clipboard
how get host info
I'm new to vsphere. When I use vc.getMORefsInContainerByTypePropertyArray(rootFolder, 'HostSystem', ['summary']) API. I got error. I don't why?
Can you help me?
What's the error? Did you set rootFolder=vc.serviceContent.rootFolder ? Is 'HostSystem' the name of a virtual machine?
More information is required.