How to Set Proxy via Command Line in Windows

netsh winhttp set proxy <proxy>:<port>

For example: netsh winhttp set proxy 10.0.0.6:8080