Setting Up the MTS Administrative Sample Scripts

The administration object sample scripts demonstrate how to write scripts in an Automation-compatible language (such as Visual Basic Scripting Edition (VBScript) that automate procedures in the MTS Explorer. The sample scripts automate deployment for the Sample Bank application.

In order to run the sample scripts, you must first install the Windows Scripting Host (WSH). Note that these scripts will only run on Microsoft Windows NT and Alpha platforms.

To install the Windows Scripting Host from the Windows NT 4.0 Option Pack:

  1. If you have not already installed WSH, open the Start menu, choose the Microsoft Internet Information Server option, and click Internet Information Server Setup.

  2. Choose the Add/Remove option from the setup program.

  3. Find the Windows Scripting Host option in the list of components, and select the checkbox.

  4. Click Finish. The Windows NT 4.0 Option Pack setup program will install WSH on your computer.

Once you have WSH installed, you can use the administration object sample scripts. The following sample scripts are located in your \MTS\Samples\WSH sub-directory:

For more information about the scriptable administration objects and the sample scripts, refer to the Automating MTS Administration topic in the MTS AdministratorÆs Guide.

Limitations of the Administrative Sample Scripts


© 1997 Microsoft Corporation. All rights reserved.