New site in IIS 6.0 using command line and xml

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Aaron (anonymous_at_discussions.microsoft.com)
Date: 06/08/04


Date: Tue, 8 Jun 2004 03:01:02 -0700

Hi All,

Can anyone tell me if there is a way to create a new site from an exported configuration file via the command line.

I have several servers that contain dozens of sites. I now have a new box that I want to transfer these sites to, so I have created the first site, fully configured it and have exported it to a config file. I have written a script to change the details in the xml file to the new sites and have saved them individually. What I want to do now is have a command line interface so that I can create new sites using these XML files.....

Any help appreciated.

Aaron