This topic contains 5 replies, has 3 voices, and was last updated by
March 13, 2014 at 8:16 am #13756ParticipantPoints: 0Rank: Member
I am new to Powershell and have version 3 installed on an SBS 2008 server and on a Win7 machine with remote administration installed.
Is there a way I can use the AD module/commands (I.e. ADComputer, ADUser, )in Powershell to access and manage the server?
March 13, 2014 at 8:26 am #13757KeymasterPoints: 1,759Rank: Community Hero
Install the RSAT on a client. Install the AD Web Service on the server. Run the commands on your client.
March 13, 2014 at 8:27 am #13758MemberPoints: 0Rank: Member
Well, on Windows Server 2008, you could download and install the AD Management Gateway Service on the domain controller. http://www.microsoft.com/en-ca/download/details.aspx?id=2852
I don't know whether there would be any problems installing this on an SBS 2008 server. You can try it and see. If it installs properly, you should be able to use the AD module commands from your Windows 7 computer.
March 13, 2014 at 4:36 pm #13765ParticipantPoints: 0Rank: Member
I was able to in stall Remote admin tools on my Win 7 machine including the AD module for powershell. That works fine.
On my SBS 2008 SP2
I tried downloading the web service from this link below and installing Windows6.0-KB968934-x64.msu and I get an error that the update does not apply to my computer.
March 13, 2014 at 4:46 pm #13768KeymasterPoints: 1,759Rank: Community Hero
Um... Don't use SBS? Seriously, it might just not be supported.
March 13, 2014 at 4:47 pm #13769MemberPoints: 0Rank: Member
If the AD Management Gateway Service won't install on SBS, then I'm afraid you're out of luck, as far as the Microsoft ActiveDirectory module is concerned. You could download the Quest AD cmdlets, though; they're very similar to the AD module, but they use LDAP to communicate with the DCs, instead of relying on AD Web Services. http://www.quest.com/powershell/activeroles-server.aspx
You can also use the underlying .NET System.DirectoryServices classes yourself, but it's not as user-friendly.
The topic ‘AD Module on SBS 2008’ is closed to new replies.