Administering an ISP Installation

Previous Topic Next Topic

Examples

The following examples show you how ADSI scripts can automate tasks that ISPs must perform repeatedly. For a detailed explanation of the script syntax, see the IIS 5.0 online product documentation.

The first two examples assume that you’ve already set the path to the administration scripts within the Windows environment, or that you are running the scripts in the C:\Inetpub\AdminScripts directory, where they reside. The following procedure tells you how to set the path to the administration scripts.

To add a path to the Windows environment

  1. On the Windows 2000 Desktop, right-click My Computer.
  2. Select Properties.
  3. On the System Properties dialog box, click the Advanced tab.
  4. Click the Environment Variables button.
  5. In the System Variables box, select the line beginning with the word “path.”

    Dialog Box for Environment Variable

  6. Click the Edit button.
  7. In the Edit System Variable dialog box, put the cursor at the end of the line in the Variable Value box.
  8. Type the following to add the path to the sample ADSI scripts:
    ;C:\Inetpub\AdminScripts
    

    Note   Each element in the path variable must be separated by a semicolon, which explains this initial punctuation.

See the following:


© 1997-1999 Microsoft Corporation. All rights reserved.