Actually, I would go back to the way Ed was doing it for workstation OS's, just 
change the ProductType value:

                select * from Win32_OperatingSystem where Version like "5.%" 
and ProductType = "1"

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: David Lum [mailto:[email protected]]
Sent: Monday, October 24, 2011 5:32 PM
To: NT System Admin Issues
Subject: RE: WMI filter for GPO's for WIndows 2003 Servers,

To make it AVOID server OS do I simply put NOT in front of like '%server%' ?

From: Michael B. Smith 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Monday, October 24, 2011 1:09 PM
To: NT System Admin Issues
Subject: RE: WMI filter for GPO's for WIndows 2003 Servers,

I would do it this way:

                select * from Win32_OperatingSystem where version like '5.%' 
and name like '%server%'

Your query excludes domain controllers. Dunno whether that's what you intended 
or not. The WMI class is documented here:

                
http://msdn.microsoft.com/en-us/library/windows/desktop/aa394239(v=vs.85).aspx

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Ziots, Edward 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Monday, October 24, 2011 3:52 PM
To: NT System Admin Issues
Subject: WMI filter for GPO's for WIndows 2003 Servers,

Just a quick question, for those filtering with WMI filters. I am using the 
following for a Windows 2003 Filter, does anyone else have anything else that 
works a bit better or know that its valid.

select * from Win32_OperatingSystem where Version like "5.%" and ProductType = 
"3"

TIA
EZ
Edward E. Ziots
CISSP, Network +, Security +
Security Engineer
Lifespan Organization
Email:[email protected]
Cell:401-639-3505
[CISSP_logo]


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

<<inline: image001.jpg>>

Reply via email to