?
Solved

SCCM Query to display website identification descriptions on all iis servers

Posted on 2010-01-08
2
Medium Priority
?
2,108 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 IIS and display the name or "website identification description" of each website that exists on each of those servers that have IIS running on it.

So, running the query will need to show me

server name, website name (website identification description), website ip address, website home directory local path

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 Comments
 
LVL 33

Accepted Solution

by:
NJComputerNetworks earned 1500 total points
ID: 26212687
"server name, website name (website identification description), website ip address, website home directory local path"  So, SCCM doesn't collect this information about your IIS data natively.  I had to do something similar in my environment...

The method I used was to create a custom package (using WISE Installer... you could aslo use VBscript or some other packaging tool).  Anyway, the program in the package would basically query the system for IIS root dir, Website name, etc.  I would save this information in a variable and write a custom MIF file (for reporting) based on what I discovered about the web server.  

I then created an advertisement using the package to all of my IIS servers (specail collection based on IIS service running).  I ran this advertisement on a schedule (once a week) to make sure that I get updated information about the web server...

To see the data regarding these webservers, I use the built-in MIF status report for this advertisement.  When I view this report, I can now see the items that you mention about IIS configuration on my servers.

So, the solution I used was to extend the inventory by using a custom package and built in reports.

Note:  I leveraged the appcmd.exe in my custom package to help me query IIS settings...  http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/

0
 
LVL 5

Author Closing Comment

by:ACECORP
ID: 31674710
Thanks for pointing me in a specific direction. I was hoping for something easier but I will research your suggestion and move down that pathway.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Know what services you can and cannot, should and should not combine on your server.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

807 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