[gptalk] Re: WMI Filter

  • From: "Nelson, Jamie R Contr 72 CS/SCBNF" <Jamie.Nelson.ctr@xxxxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Wed, 28 Feb 2007 13:09:24 -0600

Sure...use the Win32_Product class. The following would eval to True for
ANYTHING having the words 'Microsoft Office' in it. You may not
necessarily want this as it would scope in things like "Microsoft Office
Visio" or "Windows Live Local Add-in for Microsoft Office Outlook".


SELECT * FROM Win32_Product WHERE Caption LIKE '%Microsoft Office%'


A better, more precise way to do it would be to use the
IdentifyingNumber property...It looks like a big mess but the following
query should eval to true for any system having the Office 2003 suite
installed (not just individual applications). See this link
<http://support.microsoft.com/kb/832672>  for deciphering Office 2003
product codes.


SELECT * FROM Win32_Product WHERE IdentifyingNumber LIKE


Jamie R Nelson
Systems Engineer
Ingenium Corporation
405.739.2811 (DSN 339)


From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Salandra, Justin A.
Sent: Wednesday, February 28, 2007 12:33 PM
To: gptalk@xxxxxxxxxxxxx; ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: [gptalk] WMI Filter


I am trying to determine how I can accomplish the following using WMI


I want a GPO to check to be sure that Office is installed before the GPO
is allowed to apply to a workstation.  Does anyone have a way to
determine this?


Justin A. Salandra

MCSE Windows 2000 & 2003

Network and Technology Services Manager

Catholic Healthcare System

646.505.3681 - office

917.455.0110 - cell

jasalandra@xxxxxxxxxxx <mailto:jasalandra@xxxxxxxxxxx> 


Other related posts: