Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to achieve the make use of AD administrative commands such as "Get-ADUser" and "Get-ADComputer" via Powershell. All our domain controllers are Windows 2003 and we have one Windows 2012 Member server. Can I use that server for this purpose or is that mandatory to make the 2012 server a DC?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

It is not mandatory, however in order to allow a Windows 2003 Domain Controller to be accessible from the Active Directory Powershell Module the Active Directory Management Gateway Service (Active Directory Web Service for Windows Server 2003 and Windows Server 2008) has to be installed on it.

Please make sure that you read the System Requirements section because there are hotfixes needed to be installed before attempting to install the gateway service. Failure to do so will result in the This update does not apply to your system error.

share|improve this answer

It is not mandatory for a member server to be a domain controller in order to use the CMDlets. I would think though, that you need those CMDlets installed. There should be available under roles or features.

share|improve this answer
    
I Installed the Commanlets but when i execute them the error appears saying "There is no Domain controller with AD webservices instaleld" ; Do i centainly need a AD Webservices installed on a DC or can i just install it on a member server? –  Darktux Feb 18 '13 at 17:45
    
It has to be on a DC. From the System Requirements section: you can install Active Directory Management Gateway Service only if you promote your server to domain controller by running Dcpromo.exe or if you create an AD LDS instance (or ADAM instance) on this server. –  mprill Feb 19 '13 at 15:00
    
Once you HAVE powershell, what will you be doing? –  SpacemanSpiff Feb 20 '13 at 4:09
    
@Spaceman Tons of Automation. –  Darktux Mar 1 '13 at 15:39

I actually wrote a guest post on @WesleyDavid's blog about this. It walks you through the prerequisites and installation on Server 2003 as well as gives a few example commands in the PowerShell cmdlets to get started.

On your 2003 DCs that you wish to run the AD Web Services installer on, you need the .Net 3.5 SP1 framework, plus a couple of hotfixes. You don't need to install this on all of your DCs if you don't want to query all of them.

More details can be found in the "System Requirements" section of this Microsoft Download link

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.