Month February 2012

IIS 6.0 Add Host Headers in Bulk

IIS 6.0 Add Host Headers in Bulk To add host headers in bulk (IIS 6.0) you will need these two scripts in C:\Inetpub\AdminScripts: AppendHostHeaders.vbs chglist.vbs Additionally you will need an input csv called “c:\sites.csv” that follows this format (id, sitename…

iis 6.0 script 301 redirect

How can you script a 301 redirect in IIS 6.0? @REM Redirect site #1 in IIS 6.0 to brakertech.com cscript.exe c:\inetpub\adminscripts\adsutil.vbs set w3svc/1/Root/HttpRedirect “, EXACT_DESTINATION,PERMANENT” @REM List redirect properties for site #1 in IIS 6.0 cscript.exe c:\inetpub\adminscripts\adsutil.vbs get w3svc/1/Root/HttpRedirect @REM…