Example script to retrieve all cpu counters for all instances of CPU
-- countertype Name of template virtual machine
-- date Name of virtual machine to be created
-- entity ManagedEntity type VirtualMachine Only HostSystem and VirtualMachine entity
types are currently supported.
-- name Name of the host/virtual machine if entity is specified.
-- freq Frequency daily for which you want data
This script works with VMware VirtualCenter 2.0 or later.
This script works with VMware ESX Server 3.0 or later