WMI Query RRS feed

  • Question

  • I have appiled one GPO on domain lebel want to apply that on xp,vista,win7 not on win2003,windows 2008, DCs.

    What will be the WMI query for excluding the win2003,windows 2008, DCs from that GPO

    Friday, June 17, 2011 8:06 AM


  • You can try with this one. Use root\CIMv2 namespace and this query

    Select * FROM Win32_OperatingSystem WHERE Caption="Windows Server 2003" OR Caption="Windows Server 2008"

    Regards, Krzysztof
    Friday, June 17, 2011 8:15 AM

All replies