当前位置: 动力学知识库 > 问答 > 编程问答 >

powershell - haw to set proxy from command line Windows 7

问题描述:

I need to set a proxy using command line in windows .

Have you any idea about the commands to execute ?

Thank you in advance .

网友答案:

I believe it is a possible duplicate of http://superuser.com/questions/419696/in-windows-7-how-to-change-proxy-settings-from-command-line

There is a command named set proxy. See the following:

set HTTP_PROXY=http://user:[email protected]:port

Using netsh

netsh winhttp set proxy  [proxy server address:port number] [bypass list]

Also see the following:

http://www.ehow.com/how_6887864_do-proxy-settings-command-prompt_.html

http://superuser.com/questions/337685/how-do-i-change-the-windows7-lan-proxy-config-from-the-command-line

分享给朋友:
您可能感兴趣的文章:
随机阅读: