Over on Jeff Gilbert’s myITforum blog he has a great article on automating the IIS 7 installation task to support Configuration Manager 2007. He walks through how he developed the script and includes plenty of screen shots and code samples. If you’re looking for a way to speed up the installation of IIS to support ConfigMgr 2007 then this one’s for you:
If you've ever installed, or even thought about installing, a Configuration Manager site, or site system requiring IIS on a Windows Server 2008 computer then you've probably had a look at the How to Configure Windows Server 2008 for Site Systems help topic in the Configuration Manager 2007 Documentation Library and then spent some time installing and manually configuring IIS 7, then installing WebDAV for IIS 7, and then spent some more time configuring WebDAV afterwards. If you only have to do this one or two times it's not too big of a deal, but because I'm constantly installing Configuration Manager lab machines on Windows Server 2008, going through the motions of installing and configuring IIS 7 can get repetitive. Not to mention that I always seem to leave out a bit of the configuration that sends me back to installing a missing feature later. After about the thousandth time configuring IIS 7 manually, I thought to myself "there's got to be a way to script this and save some time".
J.C. Hornbeck | Manageability Knowledge Engineer