Datasheet
52 CHAPTER 1
•
USING POWERSHELL WITH ACTIVE DIRECTORY
FIGURE 1.15 ADWS Running on a Windows 2003 domain controller
Use Windows 7 or Windows Server 2008 R2 for Administration
When you promote a Windows Server 2008 R2 server to a domain controller, the
Active Directory module is installed by default. erefore, you can use the Active
Directory PowerShell module on the domain controller without additional con gu-
ration. However, if you want to use PowerShell to administer Active Directory with
the Active Directory module from Windows Server 2008 R2 member servers or
Windows 7 workstations, you’ll need to install the modules separately.
e Active Directory module is included in the Remote Server Administration
Tools (RSAT). In Windows Server 2008 R2, this doesn’t require a separate down-
load. You can install the Active Directory module by running the following series of
commands in PowerShell:
PS C:\> Import-Module ServerManager
PS C:\> Add-WindowsFeature RSAT-AD-PowerShell
One of the prerequisites for using the Active Directory module is version 3.5.1 of the
.NET Framework. erefore, if you don’t already have the .NET Framework 3.5.1
installed, it will be installed automatically when the Active Directory module is
installed.
c01.indd 52c01.indd 52 5/12/2011 1:07:58 PM5/12/2011 1:07:58 PM