This example script demonstrates the Lab Manager private API call priv_MachineUpgradeVirtualHardware(). This upgrades the virtual hardware on the given machine if it is out of date. (For example, when upgrading from LabMan 3.x to 4.x, the virtual hardware of each VM should be upgraded from v4 to v7.)
--server - LabManager server to connect to --username - Username to use to perform this action with --password - Password for the above username --config - Name of the configuration to upgrade virtual hardware for
To install , copy and paste the appropriate command in to your terminal.
cpanm
cpanm BENNIE/VMware-API-LabManager-2.05-build1.tar.gz
CPAN shell
perl -MCPAN -e shell install BENNIE/VMware-API-LabManager-2.05-build1.tar.gz
For more information on module installation, please visit the detailed CPAN module installation guide.