IE Automation with Powershell

后端 未结 3 2016
悲哀的现实
悲哀的现实 2021-01-13 20:19

I am attempting to automate the login to website on our intranet using Powershell and IE. So far, I have the following code that works:

$ie = new-object -co         


        
3条回答
  •  再見小時候
    2021-01-13 20:54

    After trying a bit more...

    $applist = new-object -com shell.application
    $newie = $applist.windows() | where {$_.Type  -eq "HTML Document" -and $_.LocationURL -match "MainFrame.jsp"}
    

提交回复
热议问题