April 2004
Beginner
416 pages
11h 3m
English
In this lab, you modify the Lab21aSolution.vbs file to use a more complicated Where clause.
Open Notepad.exe.
Open the Lab21aSolution.vbs file, and save it as Lab21bSolution.vbs.
Modify the vWhere clause to include the requirement that the PID (Process ID) is greater than 100. Your completed vWhere line might look like the following:
vWhere = " where threadCount > '10' and ProcessID >100"
Save your script, and run it in CScript. Notice how many lines of data are returned.
Modify the vWhere clause so that the PID must be greater than 1000. Your code will look like the following:
vWhere = " where threadCount > '10' and ProcessID >1000"
Save the script, and run it in CScript. Notice how the data ...
Read now
Unlock full access