title: Automating IE confirmation prompt with Powershell
body: <p>I have a nice powershell script that automates a particular website for my daughter. Recently they changed the site and added a nice new feature that would speed up my script by a factor of 10. The problem is the input type they use to activate this pops up a confirmation dialog. The HTML looks like this</p>
  
  <pre><code>&lt;input type=submit name='enter_all' value='Enter all' onClick="return confirm('Enter all?');"&gt;
  </code></pre>
  
  <p>Can I automate answering this dialog in powershell? I want the script to run in the background so I think sending keystrokes is out.</p>