Ok, the teacher is in, but I won't tell you the answer. I'll make you work for it.

If you run the following...

Code:

Dim $wmiColl,$wmiObj,$x
$wmiColl=GetObject("WinMgmts:root/cimv2").ExecQuery("Select * FROM Win32_Process")
For Each $wmiObj in $wmiColl
? $wmiObj.Name
Next
? VarType($wmiColl)
? VarTypeName($wmiColl)



...you get what? And what does that tell you?