title: PowerShell convert string to variable
body: <p>In PowerShell I'm working on a script and can't solve this:</p>
  
  <pre><code>$GROUPA = 'A', 'B', 'C', 'D'
  $GROUPB = 'E', 'F', 'G', 'H'
  
  $SELECT = 'GROUPA'
  
  write-output $$SELECT (or something)
  </code></pre>
  
  <p>I have a view arrays, and than a script thats output one of the array names. And I want to output that array, but can't find how to do that with powershell.</p>