【发布时间】:2010-09-21 16:23:44
【问题描述】:
我想将 Internet Explorer 作为没有附加组件的新 Com 对象打开。
$ie=New-Object -comobject InternetExplorer.Application
如何在没有附加组件的情况下启动 Internet Explorer?
【问题讨论】:
标签: powershell comobject com-object
我想将 Internet Explorer 作为没有附加组件的新 Com 对象打开。
$ie=New-Object -comobject InternetExplorer.Application
如何在没有附加组件的情况下启动 Internet Explorer?
【问题讨论】:
标签: powershell comobject com-object
比这更容易(假设 PowerShell 2.0 用于 Start-Process cmdlet):
Start-Process iexplore.exe -ArgumentList -extoff
【讨论】:
Get-Process 缺少 OP 的 $ie 对象包含的所有方法和属性。好像你只回答了一半。