安装Atomic Red Team项目,方法不一定全部适用。
卡在这里好长时间。与君共勉。
IWR : 基础连接已经关闭: 发送时发生错误。
我使用的方法是V2ary全局代理(科学上网)
IWR : 请求被中止: 未能创建 SSL/TLS 安全通道。
查看web连接的缺省协议
[Net.ServicePointManager]::SecurityProtocol
返回的协议不包含 Tls12,那么可能无法用 PowerShell 连接到安全的 Web Service 和网站。
我们只需要这样操作就可以启用更多的服务:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Ssl3 -bor [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12
再次查看
[Net.ServicePointManager]::SecurityProtocol
成功安装
参考资料
https://www.cnblogs.com/feiyucha/p/11073931.html