IN THIS TASK
Note: To open a command prompt to perform any of the tasks that are described in this article:
- Click Start, click Run, type cmd, and then click OK.
- Type cd Inetpub\AdminScripts and then press ENTER.
Display TasksThe two commands that you can use for display tasks are findweb and disptree. Another command that you can use to display relevant fields for a particular administrative node in the tree is dispnode.
Find a Virtual Web SiteTo find a virtual Web site, type the following command from a command prompt:
Display an Administrative TreeTo display an administrative tree, you can type either of the following commands from a command prompt:
Creation TasksThe two commands that you can use for creation tasks are mkw3site and mkwebdir; however, the adsutil command-line utility contains several commands that are designed to create an in-process application.
Create a Virtual Web SiteTo create a virtual Web site, type the following command from a command prompt:
Create a Virtual Web DirectoryTo create a virtual Web directory, type the following command from a command prompt:
Management TasksThere are several management commands that deal with everything from the starting and stopping of services to the changing of access properties. This article contains step-by-step instructions for only two management commands, but the following information is a complete list of the other commands:
Stop a Virtual Site Without Interrupting the Entire Web ServiceTo stop a virtual site without interrupting the entire Web service, type the following command from a command prompt:
Start a Virtual Site Without Interrupting the Entire Web ServiceTo start a virtual site without interrupting the entire Web service, type the following command from a command prompt:
- You have to create the folder for the Virtual Web Directory before you create the directory; the process does not create the folder automatically. If you try to create the directory before you create the folder for it, you will receive an error.
- You can verify all processes that you perform at the command prompt in the Internet Information Services console. If the console is open when you make a change at the command line, click Action, and then click Refresh to view the changes in the console.
ID articol: 308622 - Ultima examinare: 19 iun. 2014 - Revizie: 1