vsphere-guest-run enables executing programs in the guest operating system of virtual machines running on vSphere. It also enables working with directories and files. It uses the vSphere Guest Operations API (via pyVmomi), and therefore network connectivity to the virtual machine is not required. vCenter and guest OS credentials are required. It is distributed as a package with a Python library and CLI.
See the docs.
The vsphere-guest-run project team welcomes contributions from the community. Before you start working with vsphere-guest-run, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to CONTRIBUTING.md.