title: powershell IE automation getElementByID with multiple entries
body: <p>this only gets the first of the elements, though the backend cgi (such as php) can get all these in an array.</p>
  
  <pre><code>$surl=some url
  $ie = new-object -com "InternetExplorer.Application"
  $ie.visible = $true
  $ie.navigate($surl)
  $doc = $ie.Document
  $element = $doc.getElementByID("some_name[]")
  </code></pre>
  
  <p>this only gets the first of the elements with the same name.</p>
  
  <p>i am trying to fill values with a script but so far have not figured out a way to go beyond the first of these elements. i do not control the document rendering so cannot change how these are named.</p>
  
  <p>thanks for any ideas!</p>