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.