Skip to main content

I would like use these command

Enable-CVSchedulePolicy -ClientName <String> -SubclientName <String>
Disable-CVSchedulePolicy -ClientName <String> -SubclientName <String>

But i have a small problem with that

The primary function sought is to deactivate or dissociate a client's policy.
In each policy I have several clients.

I therefore need to do that only on one or a list of clients and not on the entire policy

is it possible to refine the powershell command in this direction ??

@Jonathan NABICA 

You can try with the below Qqscript. You can run this through powershell too.

https://documentation.commvault.com/2023e/expert/SetSchedulePolicy.html


Aw, it's very interesting, i wasn't familiar with this method but i can try it.
I don't know where and how i can found all qscript but i will search on the web.

Thanks for your answer.


@Navneet Singh

I have a doubt, in my use of this module, I am connected to the RDP Windows machine, and I only have access to the commvault console, not directly via ssh connection to the commserv…

in my case, can I use the qoperation?

Do i need to install a module from the Content Store to use it?

 


 


@Jonathan NABICA 

You need to go to the base location and then perform qlogin in order to run the qscript.


I do not have authorization to connect to DB SQL, I am a service provider and they did not give me total control over the solution.

So I can't use your solution.

sorry for wasting your time.


@Jonathan NABICA 

You need to open CMD in admin mode then go to the Commvault base folder location.

Perform qlogin. Enter your Commcell user ID and password and then run the above script. No need to login to SSMS.(SQL DB)


Reply