Link to home
Start Free TrialLog in
Avatar of insi01
insi01

asked on

Looking for SCCM query

Hi,

I need a SCCM collection query with which I can find computers/workstations who have already a SCCM client installed
AND who have a specific site code like " abc".

Many thanks in advance
Insi01
SOLUTION
Avatar of Systech Admin
Systech Admin
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of insi01
insi01

ASKER

HI Gaurav,

thanks for this, good side indeed.

But, Ihave this query, which shows me all clients with a SCCM Client installed on it:

"select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from sms_r_system where Client = 1"


In Addition, I need to know which of these clients found by the above query belongs to a specific site code. I mean Ineed to have two queries with an inner join.

But I have not the second query and if I have I don't know how to put the queries together (with inner join).

Maybe you can help me with this as well.

inis01
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial