diff --git a/sample/getallvms.py b/sample/getallvms.py index df4807c..d1698ca 100755 --- a/sample/getallvms.py +++ b/sample/getallvms.py @@ -21,6 +21,7 @@ Python program for listing the vms on an ESX / vCenter host from __future__ import print_function from pyVim.connect import SmartConnect, Disconnect +from pyVmomi import vim import argparse import atexit