strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colitems = objwmiservice~execquery("Select * from Win32_PCMCIAController")
DO objitem OVER colitems
SAY "Configuration Manager Error Code:" objitem~configmanagererrorcode
SAY "Configuration Manager User Configuration:" objitem~configmanageruserconfig
SAY "Device ID:" objitem~deviceid
SAY "Manufacturer:" objitem~manufacturer
SAY "Name:" objitem~name
SAY "PNP Device ID:" objitem~pnpdeviceid
SAY "Protocol Supported:" objitem~protocolsupported
SAY
END
|