Different results from same code on similar machines

(imported topic written by clibby@dandd.com91)

on some machines

select object “* from win32_Processor” of wmi

returns I: singular wmi object

on other machines with same OS

it returns E: Singular expression refers to non-unique object

this makes it difficult to get data about the CPU - in particular I’m looking for load percentage.

Any suggestions

Cole

(imported comment written by NoahSalzman)

You might want to use ‘select objects’ instead of ‘select object’ or even better might be

selects “LoadPercentage from Win32_Processor” or wmi

or if you just want the LoadPercentage value use

string value of selects “LoadPercentage from Win32_Processor” or wmi