Tried using pyVmomi as shown below but could not able to fetch the version. from pyVmomi import vim from pyVim.connect import SmartConnect Disconnect