strcomputer = "."
objwmiservice = getobject("winmgmts:\\" || strcomputer || "\root\CIMV2")
colitems = objwmiservice~execquery("SELECT * FROM Win32_ComputerSystem")
DO objitem OVER colitems
SAY "Name:" objitem~name
SAY "Manufacturer:" objitem~manufacturer
SAY "Model:" objitem~model
END |