This example script demonstrates the Lab Manager API call ListMachines(). This call returns an array of machine objects that are found within the configuration provided.

Data::Dumper is used to print the returned array of objects.


 --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