title: Declaring variable (name) containing another variable name in PowerShell
body: <p>I am getting stuck here:</p>
  
  <pre><code>$file = gci C:\...\test\ | %{$_.name}
  for ($i=0; $i -lt 100; $i++) {
    $array_$i =  gc C:\...\test\$($file[$i])
  }
  </code></pre>
  
  <p>I am just trying to create multiple arrays for each text file in the directory.</p>
  
  <p>Everything is working fine except the array name being declared - <code>$array_$i</code>.</p>