by jask2002
26. August 2012 21:56
Sometime back I reviewed the few of the sample for automating task in IIS (6, 7.x) using MWA, WMI , ADSI. Here are the links to download the sample code (C#, VB.net) from OneCode site:
- Admin IIS7.x using MWA (C#)
This sample demonstrates how to use Microsoft.Web.Administration(MWA) namespace contains classes that a developer can use to administer IIS Manager.
- Admin IIS using WMI [IIS 6 and IIS 7.x]
This sample demonstrates how to use Windows Management Instrumentation (WMI) to configure IIS by using .Net System.Management namespace to access IIS WMI Provider.
- Admin IIS using ADSI[IIS 6 and IIS 7.x]
This sample demonstrates how to use Active Directory Service Interfaces (ADSI) to configure IIS by using .Net System.DirectoryServices namespace to access IIS ADSI Provider.
Hope this helps!
|
Has this post helped you? Saved you? If you'd like to show your appreciation. Please buy me a coffee or make a small contribution
toward blog's maintenance(to keep it Ads free )
|
521d8079-3933-46d6-90ce-9000eb18ea19|0|.0
Tags: Script, Admin, MWA, ADSI, WMI, Programmatic, Sample
IIS 7 | IIS 6