Registered member login:
Register Now
Altirigos » Notification Server and Solutions » Inventory Solution » add remove apps for each computer in a collection

» Current Poll
Do you leave the Aclient enabled?
YES - 83.05%
196 Votes
NO - 16.95%
40 Votes
Total Votes: 236
You may not vote on this poll.
» Stats
Members: 9,948
Threads: 12,158
Posts: 56,984
Top Poster: Nick (4,991)
Welcome our newest member, rmerrill
» Online Users: 33
0 members and 33 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» July 2010
S M T W T F S
27282930 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Reply
Old 10-16-2009, 05:47 AM   #1 (permalink)
 
Status: Junior Altiris Admin
Join Date: 02-06-2009
Location: Grove City, PA
Posts: 9


add remove apps for each computer in a collection

How do I write a sql script that will list applications installed on each computer in a collection and exclude security patches or any other common apps I want to exclude.
lidoiwo is offline   Reply With Quote
Old 10-16-2009, 10:21 AM   #2 (permalink)
 
JeffreyJRiggs's Avatar
 
Status: Super Altiris Admin
Join Date: 02-22-2006
Location: Williamstown, NJ
Age: 37
Posts: 593


Quote:
Originally Posted by lidoiwo View Post
How do I write a sql script that will list applications installed on each computer in a collection and exclude security patches or any other common apps I want to exclude.

try something like this.. just something to start with...

Select t2.[ResourceGUID]
FROM [vCollection] t1 innerjoin
[CollectionMembership] t2 on t1.GUID = t2.CollectionGUID innerjoin
[Inv_Aex_AC_Identification] t3 on t2.ResourceGUID = t3._resourceGUID innerjoin
[Inv_Aex_OS_Add_Remove_Programs] t4 on t3._resourceGUID = t4._ResourceGuid
WHERE t1.[Name] = 'All computers'
AND t4.[Name] like '%Adobe Reader%' and t3.[OS Name] like '%XP%'
__________________
SQL Fundamentals 101:
SELECT * FROM dbo.User WHERE Clue > '0'
Query batch completed, 0 rows
JeffreyJRiggs is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 05:52 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos