You neglected to load the UDF. You need to find the EnumProcess UDF, download it, and either paste it into your script or save it in a separate file and dynamically load it with
Call 'somepath\enumprocess.udf'

Then things should work better.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D