我们的公司政策规定,用户必须与通常的用户帐户分开设置pipe理员帐户。 我们可以称它们为CONTOSO \ johndoe和CONTOSO \ a-johndoe。 计算机正在运行PowerShell版本5.1.14393的Windows 10 Enterprise(版本1607)。
出于testing目的,我将打开两个PowerShell窗口,第一个是单击PowerShell快捷方式,第二个是右键单击快捷方式,select“以pipe理员身份运行”,然后在出现提示时inputCONTOSO \ a-johndoe证书。
现在在正常的PS窗口,如果我input
Invoke-WebRequest -Uri www.google.com
它立即返回
StatusCode : 200 StatusDescription : OK
正如它应该。 在pipe理PS窗口大约30秒后它返回以下内容:
Invoke-WebRequest: Unable to connect to the remote server
我无法确定pipe理员提升的PS如何无法访问互联网。 到目前为止,我发现了以下内容:
netsh winhttp show proxy在两个PS窗口上显示“直接访问(无代理服务器)” 任何想法,我可能已经错过了什么testing,以及如何?