Qcommand to get install directory on a client or mediaagent
Best answer by SC2021
View originalQcommand to get install directory on a client or mediaagent
Best answer by SC2021
View originalHi
Thanks for the question.
I have been checking through documentation and we have a few scripts to obtain client information, but I can’t confirm whether installation directory is included in the results:
Specifically, please take a look at:
GetClientDescription
GetClientInfo
GetClient_Info
I’m also checking if we have a report that will provide this data.
Thanks,
Stuart
I’m not sure if there is a qcommand, but I get this information from the environment (local to the machine) or the registry (for local or remote machines):
echo %CV_Instance001%
C:\Program Files\Commvault\ContentStore\Base
reg query "HKLM\SOFTWARE\CommVault Systems\Galaxy\Instance001\Base" /v dBASEHOME
HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance001\Base
dBASEHOME REG_SZ C:\Program Files\Commvault\ContentStore\Base
reg query "\\MyMediaAgent\HKLM\SOFTWARE\CommVault Systems\Galaxy\Instance001\Base" /v dBASEHOME
HKEY_LOCAL_MACHINE\SOFTWARE\CommVault Systems\Galaxy\Instance001\Base
dBASEHOME REG_SZ D:\Apps\Commvault\Simpana\Base
As
I have been checking available reports, but unfortunately I have been able to find a report that shows install directory data.
We do have this data in the Commserve database as you can see this detail on client properties in the GUI.
The best match I can find is Client Details Report, however as it doesn’t show install directory, you would need to clone the report and edit to include the additional field.
Thanks,
Stuart
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.