I would like to know if there is any qcommand/ API to power on the Media agent
![](https://uploads-eu-west-1.insided.com/commvault-eu/attachment/5f77e8e2-0ad9-43b6-896f-2f7cc883b27c.png)
I would like to know if there is any qcommand/ API to power on the Media agent
Hello
There is an API call for it as the cvpysdk has it:
https://github.com/Commvault/cvpysdk/blob/master/cvpysdk/storage.py#L654
Regards,
Mike
Please try the below qcommand and let us know if this helps:
https://documentation.commvault.com/2022e/expert/setMediaAgentProperty.html
We don’t have any qscript to do this. Please raise a case so we can check with our dev team internally.
I couldn’t find an option specifically to power ON or power Off the media agent
I dont want to change/modify media agent properties, rather an action to be performed,
to power on the media agent and power off without using GUI
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.