concept active Directory in category powershell

appears as: Active Directory
PowerShell in Practice

This is an excerpt from Manning's book PowerShell in Practice.

Active Directory is the foundation of the Windows-based infrastructure in our enterprise. We need to be able to administer Active Directory efficiently, which means automation. This is usually achieved via scripting. ADSI is the interface used by scripts to work with Active Directory. “Didn’t we use that in VBScript?” I can hear you asking. Yes we did, and in part we’ll be using it in exactly the same way, but—and this is a big but—there’s a lot more to working with ADSI in PowerShell, as we’ll discover. Chapters 5, 10, and 11 concentrate on administering Active Directory. This section sets the scene for those chapters.

Listing 3.4. Searching for a user in Active Directory