Solved

problem with collection in SCCM

Posted on 2010-09-16
1
555 Views
Last Modified: 2012-05-10
Hi,

I am trying to create a collection that contains all the machines in my company that have autocad 2006 LT installed. I am doing this by querying the add/remove attribute.

here is the sql :

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 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 = "AutoCAD LT 2006 - English"


Can anyone help?

Cheers
0
Comment
Question by:chqshaitan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 31

Accepted Solution

by:
merowinger earned 250 total points
ID: 33805701
Ok so what's the problem. The query looks good.

Try to execute the followinf query directly on your SQL Server:
SELECT Name0,DisplayName0
      ,InstallDate0
      ,Publisher0
      ,Version0
  FROM [SMS_CM1].[dbo].[v_Add_Remove_Programs]
Inner Join v_R_System on (v_R_System.ResourceID = v_Add_Remove_Programs.ResourceID)
Where DisplayName0 = 'AutoCAD LT 2006 - English'


If no result are returned than the application is maybe listed with another DisplayName. The Try the following
...
Where DisplayName0 Like '%AutoCAD%'
...
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can i get IP list relay connectors in Exchange Server 2013 6 28
SharePoint database issue 2 94
SharePoint 2013 Folder Search 2 119
Monitoring vmware 6 with SCOM 6 1,019
When you are trying to access the server, have you ever encountered "The terminal server has exceeded the maximum number of allowed connection" error?  or "The user is attempting to log on to a Terminal Server in Remote Administration mode, but the …
Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question