3

I want to open the Internet Explorer as a new Com Object with no Add-ons.

$ie=New-Object -comobject InternetExplorer.Application

How could I start the Internet Explorer without Add-ons?

LaPhi
  • 431
  • 1
  • 4
  • 4

1 Answers1

4

It's even easier than that (assuming PowerShell 2.0 for Start-Process cmdlet):

Start-Process iexplore.exe -ArgumentList -extoff

See this page on Internet Explorer command line options.

Keith Hill
  • 194,368
  • 42
  • 353
  • 369
  • True, but how does one retrieve the reference to the ComObject? Using `Get-Process` lacks all the methods and properties that the OP's `$ie` object contains. Seems like you only answered half the question. – merv Jun 29 '12 at 07:05