Skip to main content
Question

CLI command to list all clients and its sub clients in CommServe.

  • November 8, 2023
  • 5 replies
  • 306 views

Forum|alt.badge.img

Please help me with the CLI command that list all clients and its sub clients in CommServe and save the output to .csv/.txt file.

5 replies

SparshGupta
Vaulter
Forum|alt.badge.img+10
  • Vaulter
  • November 9, 2023

Hi @Biren 

 

You can explore the available qscripts at this link: List of Available QScripts.

 

Feel free to write a brief script tailored to your needs using the provided resources:

 

Thanks,

Sparsh

 


Forum|alt.badge.img
  • Author
  • Novice
  • November 9, 2023

Hi Sparsh,

 

Thank you for your reply.

I am aware of this scripts. In the documents there is not much information. I have list of all Clients but i need a way to input that file and use some looping to get sub-clients info for all those clients. I am not expert in scripting so if someone have the script knowledge then please share your commands/script.


Forum|alt.badge.img+10

Forum|alt.badge.img+10

@Biren 

Also on the existing script you can pass the switch for input.

-i ‘C:\jobstofail.txt’ like this.


Forum|alt.badge.img
  • Author
  • Novice
  • November 15, 2023

@Biren

Please try using the API call and check if this meets your requirement.

https://api.commvault.com/#acbfba91-32e1-493e-a607-b20eba72fb84

https://api.commvault.com/#e03e735c-2000-42dc-8680-41894faa9ce3

 

Thank you Navneet. I will take a look at API call but the thing is my employer don’t want to configure/install any additional components so i need to stick with using scripts only.