Skip to main content

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.

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

 


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.


@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

 


@Biren 

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

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


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


Reply