Tag Archives: ldap

Active Directory “computer name contains” search string

Windows_7_Logo

You just have to love the simple things in this world that are not so obvious at first thought…

In AD if you try to search for computer name and would like to be slightly more specific you have a problem. Here is the default choice:

The rather obvious choice would include “computer name contains” but sadly the option is not there! Solution? Simple – use LDAP search string instead! In ADUC define new query with custom search for:

(&(objectcategory=computer)(name=*0112*))

where 0112 is what you’re looking for (or computer name contains)

Continue reading