IIS 6 Administration

To finish off, there are a few standard Windows commands that are sometimes useful for managing certain aspects of IIS. For example, I talked earlier in this chapter about using the net start and net stop commands to start and stop IIS services. Other net commands are also useful at times:

Furthermore, certain resource kit utilities may also be useful:

Also included in the \Support\Tools folder of your Windows Server 2003 CD-ROM is httpcfg.exe, a command-line tool that lets you configure the IP Listen List of http.sys, which is the IIS 6 alternative to socket pooling in IIS 5.

Challenge

You are an admin who has a strong Unix background, and you want to be able to manage your IIS machines remotely from the command line as much as possible. What kind of tasks can you perform this way? What tasks will require access to the GUI instead? Why might it be worthwhile for you to take the time to learn how WMI works and how to write scripts using Visual Basic Scripting Edition?

Note 

There is another admin script included with IIS 6 that I haven’t talked about yet: rgroup.vbs, which is located in \System32\Inetsrv and is used to create and delete newsgroups from the command line. I’ll cover NNTP in Chapter 15, “SMTP and NNTP.”

Категории