Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 296 Bytes

File metadata and controls

19 lines (15 loc) · 296 Bytes

Set Proxy In Powershell

  • Using netsh.
# show proxy
netsh winhttp show proxy
# set proxy
netsh winhttp set proxy 127.0.0.1:7890
# reset proxy
netsh winhttp reset proxy
  • env
$env:HTTP_PROXY="http://127.0.0.1:7890"
$env:HTTPS_PROXY="http://127.0.0.1:7890"