This example script demonstrates the Lab Manager API call ListConfigurations(). This call returns an array of configurations objects that are found.
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
To install VMware::API::LabManager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VMware::API::LabManager
CPAN shell
perl -MCPAN -e shell install VMware::API::LabManager
For more information on module installation, please visit the detailed CPAN module installation guide.