This blog is a knowledge base...where I clip cool tricks and urls

WMI to config IIS

clipped from blogs.msdn.com
<?xml version="1.0" encoding="utf-8" ?>
<webSettings>
     <webSites>
             <webSite ServerId="1234" ServerComment="My Test WebSite" PathOfDefaultVroot="c:\inetpub\wwwroot\Test" >
                    <siteSettings>
                          <propertyList>
                                 <property name="AllowKeepAlive" value="True"/>
                                 <property name="ConnectionTimeout" value="90"/>
                          </propertyList>
                         <serverBinding Hostname="" IP="" Port="80"/>
                   </siteSettings>
            </webSite>
     </webSites>
</webSettings>
Many of us use scripts to setup our web servers, a lot of the work is boilerplate - create sites, vroots.... To ease  maintanence work over the last year i've moved to a data driven approach to setting up web sites. I use an XML configuration file to describe the web site and a driver program that uses WMI to configure IIS based on the XML. Some of the benefits of this are : you only need to make fixes to the single driver program
 blog it

1 comment:

Anonymous said...

Can anyone recommend the top Remote Management & Monitoring tool for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: [url=http://www.n-able.com] N-able N-central inventory management
[/url] ? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!