Registered member login:
Register Now
Altirigos » Deployment Solution » Deployment Server » Export a filter from DS query

» Current Poll
Do you leave the Aclient enabled?
YES - 82.44%
216 Votes
NO - 17.56%
46 Votes
Total Votes: 262
You may not vote on this poll.
» Stats
Members: 10,090
Threads: 12,230
Posts: 57,322
Top Poster: Nick (4,991)
Welcome our newest member, garcia
» Online Users: 43
2 members and 41 guests
andykn, Magic_25
Most users online at once 294, 06-30-2007 at 12:24 PM.
» September 2010
S M T W T F S
293031 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 12
Reply
Old 05-28-2008, 09:43 AM   #1 (permalink)
 
Status: Junior Altiris Admin
Join Date: 02-28-2008
Location: London
Posts: 28


Export a filter from DS query

Hi guys.

I have a question about how I would run a query on the express db that would give me the results of all the machines on the DS without the "AltirisAgent" in the App description field. I want to use this query so that I can get the IP's of the mahines (DNS issue), and then push the Altiris agent to them but I'm not SQL savvy enough to compile the query.

Could anyone help please?

Thanks

Eben
eben80 is offline   Reply With Quote
Old 06-02-2008, 03:52 PM   #2 (permalink)
 
jenifer.arnold's Avatar
 
Status: Super Altiris Admin
Join Date: 01-23-2006
Location: Anchorage, Alaska, USA
Posts: 841


Try this one...

Code:
 
use express
SELECT DISTINCT dbo.computer.name
FROM         dbo.application INNER JOIN
                      dbo.computer ON dbo.application.computer_id = dbo.computer.computer_id INNER JOIN
                      dbo.computer_group ON dbo.computer.group_id = dbo.computer_group.group_id
where dbo.computer.name not in(
SELECT DISTINCT dbo.computer.name
FROM         dbo.application INNER JOIN
                      dbo.computer ON dbo.application.computer_id = dbo.computer.computer_id INNER JOIN
                      dbo.computer_group ON dbo.computer.group_id = dbo.computer_group.group_id
WHERE     (dbo.application.description like '%Altiris Agent%')
)
There no IP address in that list, but maybe someone can chime in on adding that column...
__________________
Jenifer Arnold
Information Technology Division
Anchorage Water & Wastewater Utility
jenifer.arnold 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 03:11 AM.


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