IIS
  Home arrow IIS arrow IIS 6.0, Getting Information Using WMI
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
IIS

IIS 6.0, Getting Information Using WMI
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 35
    2005-10-12

    Table of Contents:
  • IIS 6.0, Getting Information Using WMI
  • What is new in IIS 6.0?
  • Can we retrieve IIS information using WMI?
  • Playing with Virtual directories and Web applications
  • How about SMTP, POP3, FTP services in IIS?

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    IIS 6.0, Getting Information Using WMI


    (Page 1 of 5 )

    In this article, we shall look into some of the internals of IIS and then further proceed to communicate with IIS using WMI with VBScript.

    You can execute every script by saving each of them individually as text files with the “.vbs” extension and execute through the WSH engine (like wscript.exe or cscript.exe) from your MS-DOS prompt.  Note that I tested all the scripts only with Windows Server 2003 Standard Edition.  

    Internals of IIS

    I don’t think there exists any web developer who doesn’t know IIS.  It is one of the most famous web servers available on the market.  It became quite famous with version 4.0 on Windows NT.  It was later upgraded to 5.0 on Windows 2000 and further enhanced to 6.0 on Windows 2003.  Version 7.0 is getting ready with Windows Vista!  Before proceeding with IIS 6.0, I would like to have a discussion about the internals of IIS 5.0.

    There was only one main process (or service) in IIS 5.0, represented by the executable inetinfo.exe that was designed to function as the main Web server process. This generally redirects requests to one or more out-of-process applications that are running within the “dllhost.exe”. The Inetinfo.exe is considered to be the master process through which each request must “penetrate” regardless of isolation mode.

    IIS 5.0 mainly has three isolation modes namely:

    • In-Process,
    • Out-of-process
    • Pooled.

    When considering the ”In-Process” mode, all the applications run in the same process as that of the Web server (inetinfo.exe). The IIS 5.0 default mode is “pooled,” in which the Web server (Inetinfo.exe) runs in its own process and all other applications will run in one single-pooled process (dllhost.exe). You can set high-priority applications to run as Isolated, which creates another instance of dllhost.exe (which also burdens RAM).

    Even though this out-of-process isolation allows you to increase the fault-tolerance of your Web server, it is slow in terms of performance. The Pooled mode is the best performance/isolation tradeoff, but there is only one pool on a server and all pooled applications must use the same pool.

    More IIS Articles
    More By Jagadish Chaterjee


       · Hey guys, the power of WMI with IIS6 is here...have some good suggetions?...do not...
     

    IIS ARTICLES

    - Retrieving IIS information using ASP.NET 2.0
    - IIS 6.0, Getting Information Using WMI
    - The Importance of a Domain
    - Implementing a PKI, Part II: Configuring IIS...
    - Creating Test and Production Sites with Only...
    - Authentication and Authorization
    - Beefing Up IIS: 10 Tips From A Former Solari...
    - An Introduction To ISAPI
    - Secure Your Web Server With SSL
    - Introduction to HTML and ASP
    - Instructions to help in Designing your own C...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek