title: Powershell GCI include with arraylist
body: <pre><code> $pdfs = @(gci $pioneerDest -Include $arrPDFName.Item(0), $arrPDFName.Item(0)  | foreach {write-output $_.name})
  </code></pre>
  
  <p>So I want to grab pdfs from a directory.  However I only want the pdfs that will be the arraylist <code>$arrPDFName</code>. I cannot find a way to do this.  Does anyone have any idea of using the powershell's collections with <code>Get-ChildItem</code>?</p>