K, saved as WMIProcessList.udf. Placed call to it. Under debug I see it run as soon as the statement for $apptracking goes.

WMIProcessList.udf errors out under debug @ line 130.