Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, May 23, 2013 4:11 PM | 1 vote
I'm in the process of moving all my powershell scripts from my desktop to a 2012 server. I have many scripts I use to grab info from AD and create groups, etc..... The AD module is not there on the 2012 server and looks like I have to install AD Domain Service to fix this. But I don't want to break my network. Anyway to get powershell to access AD like it does on my Windows 7 desktop with adding a role to the server?
Please mark my post as helpful or the answer or better yet.... both! :) Thanks!
All replies (4)
Thursday, May 23, 2013 4:18 PM âś…Answered | 3 votes
Hi,
I just tried this and it worked:
Import-Module ServerManager
Add-WindowsFeature RSAT-AD-PowerShell
Run this on the 2012 server and you should be good to go.
Thursday, May 23, 2013 4:14 PM
this is what microsoft has
http://technet.microsoft.com/en-us/library/dd378937(v=ws.10).aspx
Thursday, May 23, 2013 5:08 PM
Worked perfectly! Now I won't break my network.... thanks! :)
Please mark my post as helpful or the answer or better yet.... both! :) Thanks!
Thursday, May 23, 2013 5:23 PM
You're welcome, glad I could help out.