We will configure and run PS scripts to manage Active Directory on Win 07 or Win 08 administrator machine and Our Active directory contains least one Win08 R2 domain controller.
Download install proper update for your management computer.
Remote Server Administration Tools > Role Administration Tools > AD DS and AD LDS Tools > Active Directory Module for Windows PowerShell
Now we would like to add the PS command into our Profile
Open your PS profile
If you do not have one create with this PS command
New-Item -path $profile -type file –force
Copy and paste this PS code in there and save it
$Shell = $Host.UI.RawUI
Adjust the colors and the script folder location based on your preference.
Now we are ready to use AD Module to manage active directory. to see all available cmdlets by typing get-command