Running Server Scripts

Running Server Scripts

Microsoft Speech Server (MSS) includes administrative Windows Management Instrumentation (WMI) scripts to help configure and monitor the environment. These scripts include error handling, which checks for errors such as missing command-line parameters, object creation errors, and failure to connect to a specified namespace. They can be run from the command window or using the Microsoft Management Console (MMC) snap-in for MSS.

For more information about WMI scripting, see Using WMI Scripting with Speech Server.

The MSS administrative scripts are located at: \Program Files\Microsoft Speech Server\AdministrativeTools\Scripts.

Administrators use another script, MSSLogConfig, to enable logging in MSS. For more information about MSSLogConfig, including syntax and examples, see Filtering Logged Events.

MSS Administrative Scripts

To run a script from the command window
  1. Click Start, click Run, type cmd, and then click OK.

  2. In the command window, browse to the folder that contains the script.

  3. Type cscript followed by a space and the script filename, and then click OK.

    Note  CScript.exe is a command-line version of the Windows Script Host that provides command-line options for setting script properties. Run scripts using CScript.exe by typing the name of a script file at the command prompt.

To run a script using MMC
  1. Open the MMC Administration console. (For instructions, see Administering Speech Server Using MMC.)

  2. In the console tree, right-click Microsoft Speech Server, and then click Run Script.

  3. Enter the script path and name or click Browse to locate the applicable script, and then click OK.

Syntax Conventions

The MSS Administrative Scripts in this section use the following syntax conventions:

  • Bold indicates required syntax elements, for example, ConfigurationDisplayProperties.vbs.

  • Italics indicate variable names, for example, object.

  • Square brackets surrounding an argument indicate the argument is optional, for example, [object].

  • Enter server names without the slash characters, for example, "localhost" rather than "\\localhost".

See Also

Understanding WMI Scripting | Using WMI Scripting with Speech Server