strcomputer = "."
objwmiservice = getobject("winmgmts:" || "{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colitems = objwmiservice~execquery("Select * from Win32_Binary")
DO objitem OVER colitems
SAY "Name:" objitem~name
SAY "Product Code:" objitem~productcode
SAY
END
|