title: get content from a list and run the Get-ADOrganizationalUnit for that list
body: <p>I want to run the following script:</p>
  
  <pre><code>Get-ADOrganizationalUnit -Filter "Name -like `"*$OUs*`"" |
      Select-Object DistinguishedName, Name
  </code></pre>
  
  <p>But I want to pass in a list of values for <code>$OU</code> from <code>c:\temp\list</code></p>
  
  <pre><code>$OUs=c:\temp\list
  foreach ($OU in OUs) {
      Get-ADOrganizationalUnit -Filter "Name -like `"*$OUs*`"" |
          Select-Object DistinguishedName, Name  |
          Export-CSV -Path c:\temp\list.csv
  }
  </code></pre>
  
  <p>or something like that.</p>