Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to create a script that can use the ActiveDirectory module in powershell (from a remote machine). From what I understand I need to have Active Directory Web Services (ADWS) installed for this to work. I have two questions:

  1. Can I have ADWS on a Server 2003 machine?
  2. If not, can I still use the ActiveDirectory module as long as I run the script on the actual AD machine?
share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You can only use the AD module on Server 2008 R2. http://technet.microsoft.com/en-us/library/dd378783.aspx

You can, however, use the old ADSI libraries from older Windows versions. Google "ADSI PowerShell" for details.

share|improve this answer
add comment

You CAN install the Active Directory Mgmt Gateway Service on Windows 2003 to manage down-rev AD using the Powershell AD cmdlets.

According to TechNet:

Active Directory Management Gateway Service runs as the Windows Server 2008 R2 ADWS service and provides the same functionality.

You can download and install the Active Directory Management Gateway Service on servers and domain controllers running the following operating systems:

Windows Server® 2003 R2 with Service Pack 2 (SP2)

Windows Server 2003 SP2

Windows Server 2008

Windows Server 2008 SP2

share|improve this answer
    
I would agree with this. My answer should be rejected. –  Patrick S. May 27 '11 at 11:17
add comment

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.