Powershell 代理设置
初始化文件 %USERPROFILE%/Documents/WindowsPowerShell/Microsoft.PowerShell_profile 1 2 3 4 5 6 7 8 9 Function proxy { $env:HTTP_PROXY = "http://IP:PORT" $env:HTTPS_PROXY = "http://IP:PORT" } Function noproxy { $env:HTTP_PROXY = "" $env:HTTPS_PROXY = "" } 以管理员模式更改执行策略 1 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned Ctrl + Shift + APP 以管理员身份运行