MCSA/MCSE Exam 70-292: Managing and Maintaining a Windows Server 2003 Environment for an MCSE Certified on Windows 2000 Study Guide

The IIS Manager is the GUI interface for all IIS management functions, and the primary means for performing all IIS related management. However, command-line tools can also accomplish the same tasks that can be completed using the IIS Manager. These command-line tools are actually VBScript functions with *.VBS file extensions. The new IIS management commands include:
iisweb.vbs
iisftp.vbs
iisvdir.vbs
iisftpdr.vbs
iisback.vbs
iiscnfg.vbs
| Note | You will need to allow Windows Server 2003 to register cscript as the default script host for .VBS files to use these IIS management scripts. |
| Note | The following parameters are identical across all usages of the iis***.vbs utilities and will only be explained the first time in Table A.61: /s Computer, /u [Domain\]User, /p Password. |
The iisweb.vbs utility is used to manage Web sites in IIS 6.0 and uses the following top-level options:
iisweb /create
iisweb /delete
iisweb /start
iisweb /stop
iisweb /pause
iisweb /query
The iisweb /create command is used to create new IIS 6.0 Web sites and uses the following syntax:
iisweb /create <i class="emphasis">Path</i> <i class="emphasis">SiteName</i> [/b <i class="emphasis">Port</i>] [/i <i class="emphasis">IPAddress</i>] [/d <i class="emphasis">HostHeader</i>] [/dontstart] [/s <i class="emphasis">Computer</i> [/u [Domain\]User [/p <i class="emphasis">Password</i>]]
Table A.61 details the parameters associated with the iisweb /create command.
| Switch | Function |
|---|---|
| Path | Specifies the path to the Web site files. |
| SiteName | Specifies the name of the Web site. |
| /b Port | Specifies the port number that the Web site will answer requests on. |
| /I |