VMware ESXi Script Requirements
Run VMware scripts on the guest Operating System or another device pointing back at the VMware guest, for example, the VMware host.
Depending on the monitored indicators, the Virtualization script's language is either VBScript or PowerShell.
For both scripting languages, the device must have WinRM (Windows Remote Management) installed and access to the VMware CIM / SMASH API.
The script's use the WSMAN library, as such they are not supported on Windows XP, Server 2003 and earlier Operating Systems.
Additionally for PowerShell scripts the device running the script must have Microsoft .Net 3.5 (or higher), PowerCLI and PowerShell 2.0 (or later) installed.
Please be aware that from ESXi 6.5 and PowerCLI 6.5 it may be necessary to configure certificates for the scripts to function correctly.
VMware uses certification to ensure secure SSL communication between the vCenter components and the ESXi nodes. Where the vCenter uses an untrusted or invalid certificate this can lead to "Could not establish trust relationship for the SSL/TLS secure channel with authority" type errors when attempting to connect to the ESXi nodes.
Visit the VMWare Certificates section for information on adding a certificate to your VMware installation.
What do you want to do?