title: In PowerShell - How do I create parent and children OU's at the same time?
body: <p>I am using a Windows Server 2012 R2 and I am the administrator. My PowerShell Version is 4.0. My domain is DC=testdomene,DC=local.</p>
  
  <p>I want to accomplish the following:
  1) Create a parent OU
  2) Create some children OU's at the same time</p>
  
  <p>I am able to do this manually in PowerShell, but I guess one of the major benefits of using PowerShell is to automate this somehow. The "Help New-ADOrganizationalUnit -examples" do not give me any answers when it comes to parent and children OU's at the same time. </p>
  
  <p>Creating the parent OU:
  New-ADOrganizationalUnit -Name "US" -Path "DC=testdomene,DC=local" -description Parent -ProtectedFromAccidentalDeletion $false</p>
  
  <p>Creating the first child OU:
  New-ADOrganizationalUnit -Name "Nevada" -Path "OU=US,DC=testdomene,DC=local" -description Child -ProtectedFromAccidentalDeletion $false</p>
  
  <p>Creating the second child OU:
  New-ADOrganizationalUnit -Name "Texas" -Path "OU=US,DC=testdomene,DC=local" -description Child -ProtectedFromAccidentalDeletion $false</p>
  
  <p>This gives me the OU US, with the children OU's Nevada and Texas. How would I accomplish this at the same time? Any help is appreciated.</p>