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
Import-Module ActiveDirectory
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
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:
working!! cheers mate
active directory tool
Thanks for sharing this very helpful post. It is indeed informative. Cheers!
Post a Comment