I tried to list all the vms in my esxi,
vm
from pyVim.connect import SmartConnect, Disconnect import requests import ssl requests.packages.urllib3.