Open tab in existing IE instance

前端 未结 3 1268
醉梦人生
醉梦人生 2020-12-16 18:37
$ie = New-Object -com internetexplorer.application

Everytime i open a new website with this object(ie every time when script runs) it is opened in

3条回答
  •  长情又很酷
    2020-12-16 18:55

    You can use Start-Process to open the URL. If a browser window is already open, it will open as a tab.

    Start-Process 'http://www.microsoft.com'
    

提交回复
热议问题