Monday, June 10, 2013

Install Active Directory Module Remote Server Administration Windows 7 & 8

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.

  • Install KB28972 ( win08 X64)
  • Install 7887 ( Win07 X64)

clip_image001

Remote Server Administration Tools > Role Administration Tools > AD DS and AD LDS Tools > Active Directory Module for Windows PowerShell

clip_image002

clip_image003

Now we would like to add the PS command into our Profile

Import-Module ActiveDirectory

clip_image004

Open your PS profile

clip_image005

If you do not have one create with this PS command

New-Item -path $profile -type file –force

clip_image006

Copy and paste this PS code in there and save it

$Shell = $Host.UI.RawUI
$Shell.WindowTitle=”E15 PowerWay”
$Shell.BackgroundColor=”Black”
$Shell.ForegroundColor=”White”
$size = $Shell.WindowSize
$size.width=125
$size.height=50
$Shell.WindowSize = $size
$size.width=110
$size.height=300
Import-Module ActiveDirectory
Set-Location C:\admin\Scripts

Adjust the colors and the script folder location based on your preference.

image

Now we are ready to use AD Module to manage active directory. to see all available cmdlets by typing get-command

image

Resource:

http://technet.microsoft.com/en-us/library/ee617195.aspx

Respectfully,
Oz Casey, Dedeal ( MVP north America)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

2 comments:

Unknown said...

working!! cheers mate

active directory tool

Hoyt Velasquez said...

Thanks for sharing this very helpful post. It is indeed informative. Cheers!