Add host headers to a web service instance from a text data source. Good for adding 50+ headers to web farms.
This script adds host headers, listed in a text file, to a web service instance.
NOTE: This script will replace all host header on that particular instance with headers from the text file!
Format of text file is ip:port:hostheader with 1 per line.
see headerstoadd.txt for sample.
default port for web server is 80.
to use
1. add ip:port:hostheaderst to text file
2. run script
3. enter web service instance # to add headers to
4. message box pops up saying how many headers where added.