title: Set 'Following user or group can join to domain' permissions on computer object created in Active Directory
body: <p>I have a VMWare View environment where we typically have to expand the pool occasionally by large numbers of computers.  </p>
  
  <p>For our environment to add a linked clone computer in a pool to the domain we have to pre-create the computer object in Active Directory and set the 'Following user or group can join to domain' permissions to a certain group temporarily. When you manually do this one computer at a time - you can set that permission using the GUI/Wizard.</p>
  
  <p>I am trying to automate this by adding computers to Active Directory by a PowerShell script.  I have the script working and it adds the computer objects but I am not finding an obvious way to set those permissions either at the time of creating the computer object or modifying the permissions after creation.  </p>
  
  <p>How would I go about setting those permissions using PowerShell?</p>