A small script crafted for the creation of multiple websites on IIS 6.0, This Syntax describes the switches:
Applied to Operating System : - Windows 2003 Server
iisweb /createPathSiteName [/bPort] [/iIPAddress] [/dHostHeader] [/dontstart] [/sComputer [/u [Domain\]User/pPassword]]
/sComputer switch can be used incase you want to create the website on a remote IIS webserver.
Running Example : -
iisweb /create c:\Expert\website Expert /b 80 /d "Expert.com" /dontstart
iisweb /create c:\Expert\ASP ExpertASP /b 80 /d "ExpertASP" /dontstart
iisweb /create c:\Expert\html Experthtml /b 80 /i 120.12.14.167 /d "ExpertASP" /dontstart
****AS IS**** ; Apply at your own risk.
No comments:
Post a Comment