title: Active Directory PowerShell
body: <p>For PowerShell 2.0</p>
  
  <p>I mean to manage Active Directory using Windows PowerShell. I have an application server where in I have installed RSAT with ActiveDirectory PowerShell CmdLets. When I run a command for AD cmdlet, for example; Get-ADOrganizationalUnit it gives me an error message.
  'Unable to find a default server with Active Directory Web Services running.'</p>
  
  <p>Upon researching I found 2 articles:</p>
  
  <p><a href="http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=2852" rel="nofollow">http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=2852</a> - Install AD Management Gateway Service.</p>
  
  <p><a href="http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/29/use-active-directory-cmdlets-with-powershell-to-find-users.aspx" rel="nofollow">http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/29/use-active-directory-cmdlets-with-powershell-to-find-users.aspx</a></p>
  
  <p>Question:</p>
  
  <p>Is it really necessary to install AD Management Gateway Service as All the Domain Controllers are running on Windows Server 2003?</p>
  
  <p>Is there any other EASY :) way to query AD like AD CmdLets? I know that Quest is another route but I cant use it as I am prohibited to install any 3rd Party CMDLETS.</p>
  
  <p>Thanks in advance,</p>
  
  <p>Rajiv</p>