• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4814
  • Last Modified:

Restricting gpo to a specific range of ip address's via WMI.

Hello,

We are looking at pushing out a group policy but restricting who it goes out to via ip range (rather than OU or windows group based),

We have been looking into WMI filtering an have come up with:

select * from Win32_NetworkAdapterConfiguration where IPAddress="10.*.*.*"

but it doesnt seem to work as expected, does anyone have any experiance with WMI that could help with this?

Cheers

Dave J
0
oldhammbc
Asked:
oldhammbc
2 Solutions
 
slsmithCommented:
I think you could use this:

select * from Win32_NetworkAdapterConfiguration where IPAddress like "10.%"

0
 
Netman66Commented:
WMI filters only work with XP.

0
 
oldhammbcAuthor Commented:
cheers both, i didnt try that slsmith but as wim dosent work with 2000 im going to have to look at another way of doing it!

Cheers

Dave J
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now