Run IE 10 as a subprocess under powershell

I have a powershell script that runs IE9 currently and when it opens it opens IE under the powershell process (visible from Process Explorer). The script is just one line:

$ie = start-process "C:\Program Files (x86)\Internet Explorer\iexplore.exe"

When I try to run the same script with IE10, Internet Explorer opens but powershell process terminates immidiately after Internet Explorer opens. In my environment I need the powershell process to continue to run while IE is open and IE needs to run as a subprocess of Powershell. This works well with IE9 (see below) but I can't get it to work with IE10. Any help would be appreciated.

September 9th, 2015 8:54pm

And...what is your question?

System problems should be reported to support.  We cannot debug and fix your system.

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 9:02pm

My question is why is the behavior different between IE9 and IE10 and how can I make IE10 run as a subprocess of powershell like in the above screenshot with IE9?

I am aware I can ask and pay for support on any question I have related to Microsoft products but then what would be the purpose of these forums? Isn't this a powershell forum where we can ask powershell related questions?

Arman

September 10th, 2015 3:09am

IE 10 runs in a more isolated process and cannot be run as a sub-process.  If this is a problem then contact the Microsoft support service.

This question should be asked in the Internet Explorer forum as it is specific to IE.

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 3:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics