?
Solved

SCCM 2007 query to identify which servers are running microsoft smtp

Posted on 2009-12-18
3
Medium Priority
?
1,715 Views
Last Modified: 2013-11-21
I am looking for an SCCM query that will display all the servers in my organization that are running microsoft smtp services.

If someone would be so kind as to provide an SCCM 2007 query I can use to get that information, it would be much appreciated.  
0
Comment
Question by:ACECORP
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
NJComputerNetworks earned 2000 total points
ID: 26095477
Method 1:  you can run the generic report:  "Services - Computers running a specific service"  and pick the "SNMP Service" to show the computer running SNMP.

Method 2:  You can create a custom query and base a collection from the SQL query:

select SMS_R_System.Name, SMS_R_System.SMSAssignedSites, SMS_R_System.IPAddresses, SMS_R_System.IPSubnets, SMS_R_System.OperatingSystemNameandVersion, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.LastLogonUserDomain, SMS_R_System.LastLogonUserName, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.NetbiosName from  SMS_R_System inner join SMS_G_System_SERVICE on SMS_G_System_SERVICE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SERVICE.Name = "SNMP" and SMS_G_System_SERVICE.State = "Running"

0
 
LVL 5

Author Comment

by:ACECORP
ID: 26120490
Windows SMTP (not SNMP) is a windows service yes?

So I can use the same query with SMTP? I will try that as soon as I get back in the office from the holiday vacation.
0
 
LVL 5

Author Comment

by:ACECORP
ID: 26211369
It worked with some modifications as shown below.

select SMS_R_System.Name, SMS_R_System.SMSAssignedSites, SMS_R_System.IPAddresses, SMS_R_System.IPSubnets, SMS_R_System.OperatingSystemNameandVersion, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.LastLogonUserDomain, SMS_R_System.LastLogonUserName, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.NetbiosName from SMS_R_System inner join SMS_G_System_SERVICE on SMS_G_System_SERVICE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SERVICE.DisplayName like "Simple Mail Tran%" and SMS_G_System_SERVICE.StartName = "LocalSystem"
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

809 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