How to properly close Internet Explorer when launched from PowerShell?

后端 未结 6 1924
长情又很酷
长情又很酷 2020-12-06 06:43

There was a set of recently asked questions about doing something with Internet Explorer via PowerShell. All of them contain codes to launch IE from PowerShell as an object,

6条回答
  •  心在旅途
    2020-12-06 07:12

    This may be useful to you:

    Get-Process | Where-Object {$_.Name -Match "iexplore"} | Stop-Process
    

提交回复
热议问题