Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
From the author of

WMI Provider

In the past, to programmatically administer IIS, the administrator had to use the Active Directory Services Interface (ADSI) and the IIS ADSI Admin Object schema. Although the ADSI interface to IIS certainly provides a high level of functionality, the exposed object model is not a part of an industry standard model. IIS 6.0 now ships with a Windows Management Instrumentation (WMI) provider that provides the same level of functionality while adhering to the Web-Based Enterprise Management (WBEM) industry initiative. Simply put, WMI allows developers a standard way to remotely monitor and interact with a wide variety of network devices and software. Microsoft includes support for WMI in Windows 2000, so it can be used to monitor and manage all aspects of the server. For background information on WMI, see my previous article on InformIT: "Programming with Windows Management Instrumentation" ( http://www.informit.com/content/index.asp?product_id={EE372548-1AD9-4F45-803F-2D925E94E145}).

By adding the IIS WMI provider, developers and administrators can now incorporate IIS administrative functions into network management applications and scripts that use WMI. For example, the .NET Framework contains the System.Management namespace that can now be utilized to administer IIS using managed code.

  • + Share This
  • 🔖 Save To Your Account