Skip to main content

Add a Script to an Existing Query

The Query Properties window provides the ability to add a script to an existing query. Typically, a script is used to augment a query providing services such as conversion of returned data.

Follow the steps to add a script.

Step 1 – Navigate to the job's Configure node and select Queries.

Step 2 – Click Create Query to open the Query Properties window.

Step 3 – Select the Data Source tab and select the desired data collector in the Data Collector drop-down menu.

Query Properties window

Step 4 – Click the Browse Data Source button to open the VBScript Editor page and add the script to run after data collection.

See the VBScript Editor topic for additional information.