Jump to content


  • 0
Prajwal Desai

query related to collections

Question

I have deployed SCCM 2007 R3 in my company.. I have created collections for laptops and Workstations. We have symantec antivrus clients (12.1) installed on laptops and workstations. Can i write a query to find the computers where symantec AV clients are not installed. I wrote query to find symantec AV installed, its working fine. But how do i find computers where symantec AV is not installed. Please help me out...

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

This should help you out:

 

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 SMS_R_System.ResourceId not in (select SMS_R_SYSTEM.ResourceID from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "ENTER NAME AS IT APPEARS IN PROGRAMS AND FEATURES " and SMS_G_System_ADD_REMOVE_PROGRAMS.Version = "ENTER VERSION NUMBER AS IT APPEARS IN PROGRAMS AND FEATURES") and SMS_R_System.Client = 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.