Home | Download | Demo | Feature list | Premium users | Support | Knowledgebase
How to fix WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
The network path was not found - The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
How to configure Windows Vista clients.
How to configure the windows firewall using group policies.
   
Welcome Guest Search | Active Topics | Members | Log In | Register

Need Help Creating Query Options
ja3hawk
Posted: Wednesday, October 01, 2008 9:12:45 PM

Rank: Premium user
Groups: Member , Premium Users

Joined: 9/17/2008
Posts: 16
Location: Kansas City
I need to pull a list of computer names that DO NOT have a certain piece of software installed searching by softwarename?

How do I do this. I tried a modified version of the post below mine but was unable to get the proper results.
Lansweeper
Posted: Wednesday, October 01, 2008 9:39:12 PM

Rank: Administration
Groups: Administration

Joined: 2/10/2005
Posts: 1,388
Location: Hamme Belgium
Could you post what your tried and what software you were looking for.
ja3hawk
Posted: Wednesday, October 01, 2008 9:59:05 PM

Rank: Premium user
Groups: Member , Premium Users

Joined: 9/17/2008
Posts: 16
Location: Kansas City
SELECT DISTINCT TOP 100 PERCENT
tblsoftware.computername
FROM
tblsoftware
WHERE
NOT softwarename = 'Trend Micro Client/Server Security Agent'




This just brings back all of the computer names. There should be about 10-15 that don't have this software.
Lansweeper
Posted: Wednesday, October 01, 2008 10:25:30 PM

Rank: Administration
Groups: Administration

Joined: 2/10/2005
Posts: 1,388
Location: Hamme Belgium
should be something like

Code:
SELECT computername FROM tblcomputer where computername not in (select computername from tblsoftware WHERE softwarename
= 'Trend Micro Client/Server Security Agent')


ja3hawk
Posted: Thursday, October 02, 2008 3:34:38 PM

Rank: Premium user
Groups: Member , Premium Users

Joined: 9/17/2008
Posts: 16
Location: Kansas City
Thanks. That helped out.. It was just a tad different but nesting the select was key.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.


Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.

   
Quick links: Download - Premium users - Support 
Copyright 2004 - 2008 © Geert Moernaut - Hemoco bvba - All rights reserved