Samples for Programmatically Accessing / Scripting /Automation of Administrative Tasks in IIS

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!


PayPal — The safer, easier way to pay online. 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 )

Tags: , , , , , ,

IIS 7 | IIS 6

Comments (1) -

Zula
Zula United States
5/25/2014 2:47:10 AM #

Hi to every single one, it's genuinely a good for me to visit this web page, it includes valuable Information.|

Reply

Pingbacks and trackbacks (1)+

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About me

Hi there,

My name is  Jas and I'm currently working with Microsoft IIS/ASP.Net Escalation services.  Services

 

Tag cloud

Month List

RecentComments

Comment RSS

TextBox

 

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.