node-vsphere icon indicating copy to clipboard operation
node-vsphere copied to clipboard

how get host info

Open leohihimax opened this issue 9 years ago • 1 comments

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?

leohihimax avatar May 11 '16 05:05 leohihimax

What's the error? Did you set rootFolder=vc.serviceContent.rootFolder ? Is 'HostSystem' the name of a virtual machine?

More information is required.

Ctesias avatar Jul 25 '16 15:07 Ctesias