Skip to main content
Solved

Commserv sql statement client installed software table or view


Forum|alt.badge.img+1

​Hi guys!


I’m newbie here and trying to write a sql statement on commserv database returning all clients where operating system is MS Windows. It’s not a big deal - i’ve got something like below

SELECT id, componentNameId,attrName,attrVal
  FROM [CommServ].[dbo].[APP_ClientProp]
  where attrName='Operating System Name' and
  attrVal like 'Windows%';

Now i would like to join table or view where information about installed agent/components are kept. I mean when you click on a commcell brower and expand client computes you can see
 

 

Any idea where, in what table/view installed software on a particular clients can be found?

I’m expecting results like:

 

Or maybe i should use reports- if so what kind?

Regards,
Michal

 

Best answer by Sunil

Hi @DisplayName 

Please check this thread. 

 

You may need to join with App_IdaName and APP_IdaType tables.

 

Thanks,

Sunil-

View original
Did this answer your question?

2 replies

Sunil
Vaulter
Forum|alt.badge.img+13
  • Vaulter
  • 300 replies
  • Answer
  • October 6, 2023

Hi @DisplayName 

Please check this thread. 

 

You may need to join with App_IdaName and APP_IdaType tables.

 

Thanks,

Sunil-


Forum|alt.badge.img+1

Hi @Sunil 
thanks a lot for table names and tips. That’s what i was looking for!

sql query:

 select c.name, p.attrName, p.attrVal, it.displayName from
  APP_Client C,
  APP_ClientProp P,
  APP_IDAName I,
  APP_iDAType IT
  where 1=1
  and c.id=p.componentNameId
  and C.id = I.clientId
  and I.appTypeId = IT.type
 -- and c.id=119
  and p.attrName='Operating System Name'
  and p.attrVal like 'Windows%';   

Regards,
Michal


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