Created
February 28, 2023 08:53
-
-
Save wuuconix/c11277af71289e9fdc9b1a5daa0fa090 to your computer and use it in GitHub Desktop.
powershell set proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setproxy { $env:HTTP_PROXY="http://127.0.0.1:7890"; $env:HTTPS_PROXY="http://127.0.0.1:7890" } | |
function unsetproxy { $env:HTTP_PROXY=""; $env:HTTPS_PROXY="" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment