Author Posts

July 10, 2017 at 4:20 pm

Hello,

I have a script that asks for login info, and logs on to a website (from the script). I have an if condition that checks if I was able to successfully login, and it works fine. My question is, after I login from the script, internet explorer brings up popup windows. How would I disable it? It's kind of annoying to see the popups.

Please click on the link to see what it looks like after I login.

https://drive.google.com/open?id=0B2-s7P7qnu-PZ0M1NnJCaTVSSnc

Thanks,

Tony

July 10, 2017 at 6:01 pm

the popups are from ie, so I have

$ie = new-object -com "InternetExplorer.Application"
$ie.Visible = $false

But, when running script, it's still showing windows. Plus, I have popup blocker turned on in ie, but it's still allowing popup.

July 10, 2017 at 6:11 pm

so, when I run the script as admin, it opens 6 windows, but when I just run it, it opens only 1 window