Export computer list from Active Directory

Recently I needed to pull a large list of servers from Active Directory based on a common term in the computer name. This common term was not at the front of the name or at the end but in the middle of the computer name on each of these servers. Because of this I had to do a LDAP Query using the wildcard at the beginning and end of term. Another thing is that these servers were all over the place so they were not in a single OU...

Read More