title: why select -index array doesn't work, powershell
body: <p>i need to add numbers that don't belong to a linear sequence to retrieve specified indexed folders, i make this attempts :</p>
  
  <pre><code>$a =ls | ?{$_.psiscontainer} | sort creationtime
  </code></pre>
  
  <p>Then i try to select only some of the folders(fail):</p>
  
  <pre><code>$a | select -Index (100, 101, (103..109))
  </code></pre>
  
  <p>Whit this simplified array i don't have problems:</p>
  
  <pre><code>$a | select -Index (103..109)
  </code></pre>
  
  <p>how can i add those numbers?</p>
  
  <p>I try this, forcing the conversion to an array, but the process of conversion fails and i don't know why, if i get the type of the inner members of the array they are already Int32, so i don't understand the error.</p>
  
  <pre><code>$a | select -Index @(100, 101, (103..109))
  </code></pre>