在代理下使用windows power shell

# 查看当前代理
netsh winhttp show proxy
# 设置代理
netsh winhttp set proxy proxy-server="http=myproxy;https=sproxy:88" bypass-list="*.foo.com;10.0.0.0/8;"
# 直接从IE导入 netsh winhttp import proxy source=ie # 关闭代理 netsh winhttp reset proxy # 导出配置 netsh winhttp dump

 

posted @ 2019-01-30 11:44  imklutz  阅读(1507)  评论(0编辑  收藏  举报