Datasheet
CHAPTER 1
Using PowerShell with
Active Directory
IN THIS CHAPTER, YOU WILL LEARN TO:
X
UNDERSTAND THE BASICS OF POWERSHELL 4
Use the Shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Use the Scripting Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Understand Proļ¬ les. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Work with Cmdlets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Script Administration Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
X
UNDERSTAND HOW POWERSHELL AND
ACTIVE DIRECTORY WORK TOGETHER 39
Interact with Active Directory Using PowerShell . . . . . . . . . . . . . . 39
Prepare Your Environment for the Active Directory Module. . . . 50
c01.indd 3c01.indd 3 5/12/2011 1:07:37 PM5/12/2011 1:07:37 PM










