[gptalk] The WMI Filter Contest

  • From: "Joel Calhoun" <joel.calhoun@xxxxxxxxx>
  • To: gptalk@xxxxxxxxxxxxx
  • Date: Wed, 13 Feb 2008 11:15:34 -0600

How about:

Select * from Win32_PhysicalMemory where FormFactor != 12

Returns True on computers that do not have SoDimm form factor memory and
False on computers with SoDimm form factor memory.  The assumption is that
all laptops will have this style memory and desktops will not.  Works in my
environment, but it's a pretty small environment.

Joel

Other related posts: