KBI 310303 Execute VBScript Using System Command Alerts

Version

Argent XT – All Versions

Argent AT – All Versions

Date

26 Mar 2012

Summary

The Windows Script Host (CScript.exe) can be used to execute VBScripts using System Command Alerts.

Event variables such as %AGNodeName% can also be passed into the VBScript as shown below.

System Command Alert (DOS Command)

Sample Format Of unlock_account.cmd

%1 and %2 will be replaced with the actual variables at runtime.

Technical Background

For more information on CScript visit the following Microsoft Article:

http://technet.microsoft.com/en-us/library/bb490887.aspx

Resolution

N/A