Skip to Main Content
Microsoft® Windows PowerShell™ Step By Step
book

Microsoft® Windows PowerShell™ Step By Step

by Ed Wilson
May 2007
Beginner content levelBeginner
320 pages
8h 23m
English
Microsoft Press
Content preview from Microsoft® Windows PowerShell™ Step By Step

Chapter 8. Leveraging the Power of ADO

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

Connecting to Active Directory with ADO

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows PowerShell™ 3.0 Step by Step

Windows PowerShell™ 3.0 Step by Step

Ed Wilson
Windows PowerShell® 2.0 Bible

Windows PowerShell® 2.0 Bible

Thomas Lee, Karl Mitschke, Mark E. Schill, Tome Tanasovski
Windows Server® 2008 Active Directory® Resource Kit

Windows Server® 2008 Active Directory® Resource Kit

Conan Kezema Stan Riemer Mike Mulcare, Byron Wright, and Microsoft Active Directory

Publisher Resources

ISBN: 9780735623958Catalog PageErrataSupplemental Content