Using the new Active Directory cmdlets- Part 3: Installing and loading the Active Directory Module.
In this blog post I will discuss the Active Directory module that is included with Windows 7 and Windows Server 2008 R2. In the previous blogs, I discussed Active Directory Web Services (ADWS) and Active Directory Management Gateway Service (ADMGS). Remember, if you don’t have at least one domain controller running one of these services you won’t be able to use the Active Directory cmdlets.
Lets talk about the Active Directory module and how to use it in PowerShell. The Active Directory module is only available on Windows 7 and Windows 2008 R2 after you install the Remote Server Administration Tools (RSAT). When installing RSAT, make sure you drill down into, AD DS and AD LDS Tools, then Active Directory Module for Windows PowerShell.
Now that the module is installed, we have to load the module into PowerShell. To load the module start PowerShell and type the following command:
Import-Module ActiveDirectory
Once the module is loaded, you can type the following to display the cmdlets loaded with the module:
(Get-Module ActiveDirectory).ExportedCmdlets