Hi
You need to attach to the existing IE window, try this:
$app = new-object -com shell.application
# get a list of all IE windows, filter to the one you need by matching its
LocationURL
$ie = $app.windows() | where {$_.Type -eq "HTML Document" -and $_.LocationURL
-match "yourCriteria"}
# navigate away
$ie.navigate("http://www.google.com")
-----
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com
> We have a Dialer application which starts the IE after dial in.
> Is it possible to manage exactly this IE via COM Object?
> I want to navigate to a specific website.
> When i do something like this:
> $IEApp = new-object -com InternetExplorer.Application
> $IEApp.Navigate('www.google.com')
> $IEApp.visible = $TRUE
> I always get a NEW IE Session (Window).
>
> Any suggsestions?
>
> Thanks in advance
> BJ