Skip to main content
Answer

Reporting CLI

  • April 18, 2023
  • 1 reply
  • 101 views

Forum|alt.badge.img

Good afternoon,

I am trying to create a report on the occupancy of our libraries. However, the report coming from Commvault has a lot of information.

Would it be possible to use CLI to extract only the information I want?

My idea is to create a script and run it every month without having to manually organize the data.

Best answer by Damian Andre

Rather than using CLI (where you might be able to find what you want here) - it may be more beneficial to use powershell to call our REST API - which is way more documented and has more information than the traditional commvault CLI interface.

The full list of rest api is available at https://api.commvault.com

 

The other option is to build your own reports with the custom reports engine:

https://documentation.commvault.com/2022e/essential/44561_build_your_own_reports_overview.html

1 reply

Damian Andre
Vaulter
Forum|alt.badge.img+23
  • Vaulter
  • Answer
  • April 20, 2023

Rather than using CLI (where you might be able to find what you want here) - it may be more beneficial to use powershell to call our REST API - which is way more documented and has more information than the traditional commvault CLI interface.

The full list of rest api is available at https://api.commvault.com

 

The other option is to build your own reports with the custom reports engine:

https://documentation.commvault.com/2022e/essential/44561_build_your_own_reports_overview.html