Description Counts the number of instances of a process on a computer. The name of the process should not include the extension, i.e. .exe.
[in] HostThe host which will be queried.
[in] ProcessNameThe name of the process. Do not include the extension. If "" is specified then the return is the total process count.
[out] NumInstancesThe number of processes found on the host that have a matching name.
Return Value Zero indicates success, any other value indicates failure.
Example See {installation directory}\Checks\VBScript\CheckService.vbs See {installation directory}\Checks\VBScript\ProcessCount.vbs

Copyright (c) Warren Flemmer