title: Can't use InternetExplorer.Application object?
body: <p>I have an entire code file that works flawlessly on a PC. I brought it over to another one, and it busted. I used this snippet, and the output is just blank, it's not getting anything from the object. The browser does load the page though.</p>
  
  <pre><code># Create the IE com object 
  "Lauching IE process..."
  $ie = new-object -com InternetExplorer.Application 
  $ie.visible = $true
  # Navigate to the login page
  "Opening $loginPage"
  $ie.navigate($loginPage) 
  "Waiting for page to load..."
  # Wait for the page to finish loading 
  do {sleep 2} until (-not ($ie.Busy)) 
  sleep 2
  $ie.document.body.innerHTML
  </code></pre>
  
  <p>I found some references to IE security models, running as Admin, etc, and fiddled with it a bit.</p>
  
  <ul>
  <li>Script doesn't work if I run it as Administrator</li>
  <li>I've disabled as much IE security as possible</li>
  <li>Downgraded from IE 11 to IE 9</li>
  </ul>
  
  <p>Still no luck.</p>
  
  <p>Any suggestions?</p>
  
  <p>Thanks!</p>