>>You don't say what version of IIS. >>For IIS 7.0 check the Microsoft.Web.Administration namespace: >>http://msdn.microsoft.com/en-us/library/microsoft.web.administration.aspx >>Some simple examples here:http://learn.iis.net/page.aspx/165/how-to-use-microsoftwebadministration/ >> >>If it's an earlier version there are a few options: >>http://msdn.microsoft.com/en-us/library/ms525885.aspx >>http://msdn.microsoft.com/en-us/library/ms524505.aspx > >Thanks, I have IIS 6.0 as I am running Windows Server 2003. > >From the documentation, it seems ADSI, WMI and ABO would be the ones to use. In all that, I saw that ABO was the recommended one. I am trying to identify the best one to use. As, I wouldn't want to start using an approach that would be already obsolete.