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?


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.

| improve this answer | |

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

| 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.

| 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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