title: Powershell domain join directly to specified OU not working
body: <p>I'm trying to join a computer to a domain with a specified OU by using Powershell.</p>
  
  <pre><code>Add-Computer -domainname mydomain.net -OUPath "OU=W2k8 R2 Servers,OU=Servers,DC=mydomain,DC=net" -cred alloweduser@mydomain.net -passthru –verbose
  </code></pre>
  
  <p>I get the Error:</p>
  
  <pre><code>This command cannot be executed on target computer('ch88s170') due to following error: Access is denied.
  </code></pre>
  
  <p>When I use this command and do not specify a OU then it works!?</p>
  
  <pre><code>Add-Computer -domainname mydomain.net -cred alloweduser@mydomain.net -passthru –verbose
  </code></pre>
  
  <p>Could it be caused because of a Active Directory Policy restriction? Which one? What should i try next to find a solution?</p>
  
  <p>P.S. Firewall is disabled, Powershell runing as Administrator without UAC, OS: Windows Server 2008 R2</p>