Skip to main content
Question

Command excetion

  • February 26, 2024
  • 1 reply
  • 18 views

Forum|alt.badge.img

Our devops team have a test that validates the commvault client group with below powershell command.

./qoperation execscript -sn GetClientGroup.sql -si cg=$group | Select-string -Pattern "^$(hostname)$"

They execute that command inside the E:\\Program Files\\CommVault\\Simpana\\Base.

The file 'GetClientGroup.sql' no longer seems to be in the E:\\Program Files\\CommVault\\Simpana\\Base folder. So our test is failing.

Do you have any idea on how we can validate commvault client group via powershell or any other way.

Thank you!!

 

1 reply

Hi,

there is a syntax-ish mistake

WRONG: qoperation execscript -sn GetClientGroup.sql

CORRECT: qoperation execscript -sn GetClientGroup

No .sql suffix is needed. These scripts do not exist on the filesystem.

Kr,

Jacek


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings