Powershell Enable / Disable / Set / Show Windows Web Proxy

Iā€™m currently working for a company where I have to set up a web proxy to connect my laptop to the Internet. Because I’m a little bit lazy to enable/disable this every morning when i come in, or when i open my laptop at home, i use these two oneliners in powershell:


set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 1


set-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -name ProxyEnable -value 0

Complete Script:

I also created a simple menu script with all the options to Enable, Disable, Set and Show. You can download the script from Technet Gallery
If you have any questions or suggestions, please let me now šŸ™‚