It is tested with CommVault 9 and you will need to install qcommands (it comes with commvault).
The authentication is out of the script (at the moment). Remember to execute ‘qlogin’ to validate the user/pass first.

:)