ASP/VBScript to create / remove websites under IIS 5, 6 and 7
The script below creates (and removes) websites under IIS 5, 6 and 7 (Windows 2000, 2003 and 2008 Servers). You'll need to run this under an Administrator account. Don't try this on a shared hosted account. And if it works under a shared hosting account, CHANGE HOSTING ASAP :)
Download the full script here.
You'll find 2 asp files in the zip:
1. default.asp - this file includes iisoject.asp (see below):
2. iisobject.asp (the class that creates the websites)