Installing the ActiveDirectory PowerShell Module

Posted on 2/7/2014 @ 3:57 AM in #SharePoint by | Feedback | 1251 views

Frequently as a SharePointee, I have to fight with AD. Its a lot easier to do so when you can RDP to the domain controller and have domain admin rights – which is like never! Mostly you have an IT Ogre with a double digit IQ and a six digit salary guarding the AD like flies on honey. So what is a poor sharepointee with no access to do?

Answer: Use PowerShell specifically the ActiveDirectory PowerShell Module.

Here is how,

   1:  PS C:\Users\sahilmalik> Import-Module ServerManager
   2:  PS C:\Users\sahilmalik> Add-WindowsFeature RSAT-AD-PowerShell
   3:   
   4:  Success Restart Needed Exit Code      Feature Result
   5:  ------- -------------- ---------      --------------
   6:  True    No             Success        {Remote Server Administration Tools, Activ...
   7:   
   8:   
   9:  PS C:\Users\sahilmalik> Import-Module ActiveDirectory
  10:  PS C:\Users\sahilmalik> ## you can start having loads of fun here

 

Thank you come again!

Sound off but keep it civil:

Older comments..