Quantcast
Channel: THWACK: Popular Discussions - Script Lab
Viewing all articles
Browse latest Browse all 9937

Can you use filter string to filter several OUs at same time to find locked out users of only specific

$
0
0

I am not a scripter so I need to see an example of how you would modify this default filter line to query several different OU in a domain including child OUs.  The reason is to find out only specific locked out users of sites for admins of that site to have notification of locked out users:

 

strFilter = "(&(objectCategory=person)(objectClass=user)(lockoutTime>=" & str64Bit & "))"

 

 

Is is possible to filter several different child ou's only?

 

I want to alert only specific admins for their specific site ou. 

 

Thank you,


Viewing all articles
Browse latest Browse all 9937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>