I want to get IP address of vCenter Server from my plugin. But from UserSessionService, I only can get host name of vCenter Server (something like vc01.example.local). Is there anyway to get IP address of vCenter Server? Thank you!

  • Why do you need this? – ewwhite Feb 8 '17 at 12:09
  • From the plugin, we want to run a script in a different machine, and the script need vCenter IP as its input to interact with the vCenter Server – Waveter Feb 8 '17 at 12:14
  • Are you writing a custom plugin? – ewwhite Feb 8 '17 at 12:15
  • Yes, we are creating a custom plugin using vSphere Web Client SDK – Waveter Feb 8 '17 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.