Solved

problem with collection in SCCM

Posted on 2010-09-16
1
551 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
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SCCM Endpoint server protection 6 52
Software Updates with SCCM 2012 2 79
RD Gateway error when trying to launch a RemoteApp 4 47
Admin pack in win 2008 8 68
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 …
Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

810 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