[gptalk] Re: The WMI Filter Contest

  • From: "Jakob H. Heidelberg" <jakob@xxxxxxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Wed, 13 Feb 2008 19:05:05 +0100

Hi Joel,

 

This looks very promising - I'll have to test it a bit, but really great
approach I think!

 

I'll get back to you when I know more, but looking at this link,
http://msdn2.microsoft.com/en-us/library/aa394347(VS.85).aspx, I think you
might have nailed it as the first one here!

 

 

Best regards

/Jakob H. Heidelberg

 

From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Joel Calhoun
Sent: 13. februar 2008 18:16
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] The WMI Filter Contest

 

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: