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)

Jeodacksnanna says (25/02/2010 11:36:16):
you have a wonderful site!
maarten says (13/01/2010 19:19:30):
Excellent script Pieter, I tried it and it worked flawlessly! Keep it up!!

Leave a reply:

Your name:*
Your email:
Your message:*
Are you human?CAPTCHA
(*) Mandatory field