wmi filter for specific IP network RRS feed

  • Question

  • I would like to create a WMI filter that filter certain IP networks, e.g. 192.168.1.*, 192.168.2.*. I used the following query statement and realized that WQL doesn't support  property IPaddress in win32_networkadapterconfiguration as it is an array. Can someone advice what alternative I have in this scenario?

    Select * from win32_networkadapterconfiguration where IPaddress = "192.168.1.%" or IPaddress = "192.168.2.%"


    Tuesday, October 11, 2011 10:06 PM


  • Hi,

     Actually you don't need a 2008 DC to use item level targeting, just a single Windows Vista/2008 or later system to manage the GPO. However, item level targeting will only work for a group policy preference setting. What type of settings are you trying to configure?

     Another option is to use site based GPOs. If you configure your AD sites to match your subnets, you can link a group policy to an AD site using GPMC.

     Finally, if you must use WMI filters, try using the routing table as described here (it's not very simple or intuitive): http://waynes-world-it.blogspot.com/2008/03/wmi-filter-for-subnet-filtered-group.html.




    • Marked as answer by Elytis Cheng Monday, October 17, 2011 1:47 AM
    Wednesday, October 12, 2011 5:18 PM

All replies