
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2009 02:13 PM
Hi,
I am struggling finding a way to find all computers that does not have the following service installed:
SMS Agent Host
I need computername, username
Can anyone help ?
I am struggling finding a way to find all computers that does not have the following service installed:
SMS Agent Host
I need computername, username
Can anyone help ?
Labels:
- Labels:
-
Report Center
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2009 02:51 PM
Sorry
I have got it figured out:
SELECT
dbo.tblComputers.Computername,
dbo.tblComputers.Username,
dbo.tblComputers.Lastseen
FROM
dbo.tblComputers
WHERE
computername NOT IN (SELECT dbo.tblservices.computername FROM dbo.tblservices WHERE dbo.tblServices.Caption = 'SMS Agent Host')
I have got it figured out:
SELECT
dbo.tblComputers.Computername,
dbo.tblComputers.Username,
dbo.tblComputers.Lastseen
FROM
dbo.tblComputers
WHERE
computername NOT IN (SELECT dbo.tblservices.computername FROM dbo.tblservices WHERE dbo.tblServices.Caption = 'SMS Agent Host')
