📌 📄 内容摘要:
CEO (@ticks) 在 Windows终端自动配置代理 中发帖
水个贴,分享下自己在用的自动设置 windows 终端 powershell 代理的启动脚本,内容写入 C:\Users\$user\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 文件中即可,记得替换 $user 为自己用户名。
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
$proxyEnable = Get-ItemProperty -Path $regPath -Name ProxyEnable -ErrorAction SilentlyContinue
$proxyServer =...
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/742719/1 ─────────────────────────────
📢 来源:LINUX DO