【发布时间】:2014-09-16 07:27:50
【问题描述】:
在启用了Internet Explorer Enhanced Security Configuration 的 Windows 服务器上,像这样调用 Invoke-WebRequest:
Invoke-WebRequest "http://localhost" -UseBasicParsing -UseDefaultCredentials
导致此错误对话框:
考虑到此脚本旨在远程运行,我想完全避免出现该对话框。
【问题讨论】:
标签: internet-explorer powershell