edit: IIS6; I'm not sure IIS7 is an option in the immediate future...
From a developer angle, I am constantly changing my IIS settings, or need to merge settings from other teams into different VMs. The "Save Configuration to Disk" has never really worked well for me.
Because we are making lots of small changes, web installation projects have never really worked either... Tools aimed for the web-admin aren't necessarily a good fit for the developer - we have different aims and needs.
Does anyone have a script / tool / utility that would allow us to quickly configure IIS? In particular:
- remove everything (start clean)
- add a load of virtual directories, each mapped to application base paths
- set as an application
- set the app-pool (we'll assume the app pool already exists)
- set the ASP.NET version to 2.x if needed
from some find of flat input list (any format would do).
Powershell would work. If you wanted to avoid dependencies, you could also generate a script to run against AdsUtil.vbs.
Probably easier would be standardizing on IIS7 where all this stuff lives in web.config files making life alot easier.
may or may not help but check out http://rprieto.github.com/psDeploy/iis-6-cmdlets.html
I'm a bit late to the show but I thought this PowerShell script my be useful, be aware I only use this for my local development box so apologies for the magic numbers.
AuthFlags = 4 is integrated authorisation
It doesn't exactly fulfil Marc's requirements but it's a good start.
If you download WMI Tools you can use them to explore the WMI interface to the IIS metabase.
PowerShell with the IIS administration snapin?
You may want to look into the Metabase XML config files for IIS and allowing direct edit.
I can think of three options off the top of my head...
I think if it was me needing to do this, I would use Powershell, or remove the need all together and create a base VM install that had all the basics already configured in. When I'm done with teasting I'd just rollback the harddrive and be free to go again.