With perl 5.20 (Debian 8.0) there are problems to use the VMware CLI with the perl Script CHECK_VMWARE_API.PL
The error could be:
Possible precedence issue with control flow operator at /usr/share/perl/5.20/VMware/VICommon.pm line 2147
From KB 1014165
Powering off a virtual machine on an ESXi host, you experience these symptoms:
You cannot power off an ESXi hosted virtual machine
A virtual machine is not responsive and cannot be stopped or killed
Virtual machine contains an IDE virtual disk as the primary operating system bootable disk after conversion from physical source.
Virtual machine has an IDE virtual disk but the additional secondary virtual disks...
From VMware KB-2045616
Unable to power on a virtual machine with a mounted sparse disks.
You see the error:
An error was received from the ESX host while powering on <vm_name>.
Cannot open the disk...