DelDomains - NEW! Easy way to delete IIS domains
DelDomains is an easy to use script. It is designed to MAKE IT EASY FOR A IIS ADMINISTRATOR TO DELETE DOMAINS.
The program will actually generate the vbs scripts to delete the domains. You provide the IIS Server Comment.
The Server Comment may be obtained using our DomainReportIt or DomainReportItPRO program. Each one prints a nice report showing the Web index #, Server Comment, and other important metabase info.
There are four ways DelDomains works.
- From the command line
- From an INI file
- Menu driven - prompts for a Server Comment
- DelDomains will extract the Server Comment and Ip Bindings from IIS, sort them by Server Comment, and display them to you. You may select one or many and DelDomains will create the vbs scripts to actually delete the domains in IIS. The scripts may be moved from one server to another (if you use backup servers).
How DelDomains works
------------------
fromCommandLine
------------------
The syntax is:
deldomains.exe fromCommandLine servercomment
The server comment will not be verified by DelDomains. It will simply create the vbs script.
--------------
fromIniFile
--------------
The syntax is:
deldomains.exe frominifile inifilename
The ini file must be in this format:
[DOMAINS TO DELETE]
magicstorecom=www.magicstore.com
sat=www.serverautomationtools.com
We have provided a sample INI file in c:\dscinc\deldomains\domainstodelete.ini
for testing.
As you can see, when using the fromIniFile method, DelDomains looks for two parameters on the command line. The first one is the method - fromIniFile - and the second if the name of the INI file to process
Using DelDomains this way lets the programmer gather the info from a Web form, parse it for correctness, and create the INI file. You can then run DelDomains through a scheduler periodically.
If no arguments are given to DelDomains it will prompt you for the info in one of two ways:
1. Askme
2. Promptme
-------------------
AskMe
-------------------
By choosing AskMe, DelDomains will display a text box for you to input a Server Comment. DelDomains will not verify the Server Comment. This way you may work off of a list on a non IIS server. You then simply move the scripts to the IIS server and run them.
-------------------
PromptMe
-------------------
Upon selecting the PromptMe method DelDomains will extract all the Domains from IIS and display them to you, sorted by Server Comment, in a dialog box. You simply select one or many Domains and click OK. DelDomains will proceed to create a vbs script named after the Server Comment for each domain you chose.
By running the vbs scripts on your server the domains will be deleted one by one.
We guarantee it is much simpler to use DelDomains to delete your IIS domains than it is to load up that clumsy, MMC which, with most versions, won't even sort the domains by Server Comment.

