MsExchange Blog Spot Telnet25

June 10, 2013

Install Active Directory Module Remote Server Administration Windows 7 & 8

Filed under: General — telnet25 @ 7:18 pm

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)
https://telnet25.wordpress.com/ (Blog)

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: