[En] Enable or disable IE proxy using Powershell
by Julien Corioland the 9/6/2011 - comments
I’m currently working in a company where I have to set up a proxy to connect my laptop to the Internet. Because I'm fed up to enable it each morning and disable it each evening, I made two Powershell scripts to do these operations :
EnableProxy.ps1 :
set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 1
DisableProxy.ps1 :
set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 0
Et voilà !
Hope this helps
blog comments powered by Disqus





