Chapter 9. PowerShell and Active Directory

IN THIS CHAPTER

Introduction

This chapter explains Active Directory Services Interfaces (ADSI) and describes the approaches Windows Script Host (WSH) and PowerShell take for Active Directory management tasks. To understand these concepts, you review some examples that compare using WSH and PowerShell for Active Directory management tasks. Finally, you see a VBScript-to-PowerShell example that uses ADSI to perform an Active Directory automation task. The goal is to give the reader a chance to learn how PowerShell scripting techniques can be applied to complete real-world automation needs.

Comparing ADSI Usage Between WSH ...

Get Windows PowerShell Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.