After completing this chapter, you will be able to:
Understand the use of ADO in Windows PowerShell scripts
Connect to Active Directory to perform a search
Control the way data are returned
Use compound query filters
In this section, you will learn a special query technique to search Active Directory using ActiveX Data Objects (ADO). The technique is exactly the same technique you will use to search other databases. You will be able to use the results returned by that custom query to perform additional tasks. For example, you could search Active Directory for all users who don't have telephone numbers assigned to them. You could then send that list to the person in charge ...