Wanna do scripting with IIS, Microsoft has some good resources with sample scripts.
* Using Command-Line Administration Scripts (IIS 6.0)
You can use scripts to automate tasks, remotely administer sites and resources, and take advantage of batch files to create and manage objects.
* TechNet Script Repository: IIS 6
Sample scripts for managing Internet Information Server 6.0.
* TechNet Script Repository: IIS 5.0 and 5.1
Sample scripts for managing Internet Information Server 5.0 and 5.1.
So far I’ve done quite a lot of administration scripting on IIS 6. I’ll try and get my scripts together an post them here on my site, so everyone can get use of them.