IIS Audit using VBScript

Hi Everyone,

Does anyone have a script available that would audit IIS v6.0 ? I need to audit all the sites and return the web site name \ state of the web site i.e. running or stopped \ application pool(s) \ State of the app pool \ bindings
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
I suggest you use something like Splunk (http://www.splunk.com) which is free as long as you only index 500 MB or less a day or you could also use AWSTATS (http://www.awstats.org) which will not only give you the data but also give you nice graphs with stats which is nice for reporting.
Dan McFaddenSystems EngineerCommented:
With IIS6 you can get the AppPools with IISAPP.VBS, which comes with IIS6 when installed.  The script should exist in the system32 directory.

Reference link:  https://technet.microsoft.com/en-us/library/cc786056(v=ws.10).aspx

Since there are a ton of IIS6 vbscripts that list sites and their associated info, I will just post a couple of links:

1. https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/69a90de9-1492-45b2-853e-1e7457f309db.mspx?mfr=true
2. http://blogs.msdn.com/b/david.wang/archive/2005/07/13/howto-enumerate-iis-website-configuration.aspx
3. http://www.40fingers.net/WeblogsNews/Weblogs/tabid/58/ID/21/language/en-US/Getting-a-list-of-all-sites-served-by-IIS.aspx

Note, that these Microsoft scripts are installed as part of the IIS6 install.  Here is a list of utilities available with an IIS6 installation:

link:   https://msdn.microsoft.com/en-us/library/ms525006(v=vs.90).aspx


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CaussyRAuthor Commented:
Thanks Dan, that's exactly what I needed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.