Link to home
Start Free TrialLog in
Avatar of Cystixs
Cystixs

asked on

Active Directory Group Search with Wildcard

I am new to using the query abilities for Ad.  I want to search for a group in which I do not know the complete name.  I tried to search for *criteria* and %criteria%.  I also toyed with the advanced search without positive  results.  I would like to know where I would go to query for a group and what they syntax would be to do so using a partial group name.  A couple of links to some good resources would be nice as I am certain I will be expanding on this same query method in the near future.

Thanks for the help
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

If you were looking for a good link, this is one I like   http://www.selfadsi.org/ldap-filter.htm

If you want to do this natively you can use ADUC

(&(objectcategory=group)(name=*criteria*))

I can take a screen shot if that would be helpful.

Thanks

Mike
ASKER CERTIFIED SOLUTION
Avatar of Cystixs
Cystixs

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That is odd, I just used name and samaccountname and it worked (see screenshots)

query-criteria1.jpg
query-criteria2.jpg
That is odd because the examples/screenshot shows it does work.  I think you should pass some points along as it did help you.

Thanks

Mike
All,
 
Following an 'Objection' by mkline71 (at https://www.experts-exchange.com/questions/26901829/Automated-Request-for-Review-Objection-to-Accept-Q-26864815.html) to the intended closure of this question, it has been reviewed by at least one Moderator and is being closed as recommended by the Expert.
 
At this point I am going to re-start the auto-close procedure.
 
Thank you,
 
SouthMod
Community Support Moderator