Set up site on remote IIS Server

Save this script as a .bat file Example script: cd .. c: cd "C:\Program Files (x86)\IIS Resources\IIS 6.0 Migration Tool" iismt.exe server-name w3svc/1 /serverbindings 127.0.0.1:80:dev-site2.example.com /siteid 1 /configonly

brakertech
February 16, 2012
iis





REM this is a .bat file

cd \
%{drive_letter_without_colon}%:
cd\
cd "%{full_path_to_directory_containing_iismt.exe}%"

@ECHO Creating Site
iismt.exe %{remote_server_name_to_setup_site_on}% w3svc/%{site_id_to_assign}% /serverbindings %{ip_to_assign}%:80:%{fully_qualified_domain_name_of_site}% /siteid %{site_id_to_assign}% /configonly

pause