in reply to How to handle a browser window that opens up during the execution of some external program commands

Try using Authen::NTLM to authenticate to that domain before executing your powershell script.

  • Comment on Re: How to handle a browser window that opens up during the execution of some external program commands