我想将 Internet Explorer 作为没有附加组件的新 Com 对象打开。
$ie=New-Object -comobject InternetExplorer.Application
如何在没有附加组件的情况下启动 Internet Explorer?
我想将 Internet Explorer 作为没有附加组件的新 Com 对象打开。
$ie=New-Object -comobject InternetExplorer.Application
如何在没有附加组件的情况下启动 Internet Explorer?
它甚至比这更容易(假设 PowerShell 2.0 用于 Start-Process cmdlet):
Start-Process iexplore.exe -ArgumentList -extoff
请参阅本页有关Internet Explorer 命令行选项的信息。