[En] Enable or disable IE proxy using Powershell

September 06, 2011 -

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 Winking smile

Comments

Share

Tags


Twitter


RT @rgardler: The best way to learn Docker for Free: Play-With-Docker (PWD) https://t.co/4ZBb9S8TY3

July 20, 2017 16:36

L'image #docker #nanoserver fait désormais 78Mo ! C'est mieux non ? :) https://t.co/4fEdKPGUYF

July 18, 2017 08:10

RT @Taylorb_msft: Check out the container image sizes in the first @windowsserver flight! Nano=78MB and ServerCore=2GB on @Docker Hub!

July 14, 2017 12:45

.@Azure #ContainerRegistry adds individual identity, webhooks, and delete capabilities https://t.co/Z8JxkLjpw0

July 13, 2017 05:30

#FreeEbook #Microsoft #Azure -> Enterprise #Cloud Strategy, 2nd Edition https://t.co/Bdl0LjzQ2Z

July 12, 2017 14:07

RT @tomconte: Ubuntu is now available for download on the Windows Store https://t.co/7tXnZvzcJb

July 12, 2017 04:44

#Microsoft finally releases its secret weapon in the cloud wars with Amazon and Google https://t.co/mvBzdItQcJ

July 11, 2017 05:49

RT @Azure: We're excited to announce a series of performance optimizations supporting #Linux & #Windows. Read more: https://t.co/o1JBn4WDia

July 10, 2017 19:40

Azure #Stack is here! #HybrideCloud #Microsoft https://t.co/8LU04WwQbO

July 10, 2017 19:39

#Azure Managed Applications now available in public preview https://t.co/MhXwgjOnjb #SaaS #ISV #MSP #Microsoft

July 10, 2017 18:35

Microsoft @Azure #Stack is ready to order now https://t.co/J0mNCCDlC9

July 10, 2017 15:36

RT @serbrech: Run CosmosDB emulator as a docker container https://t.co/dRXaC9xCrS

July 10, 2017 09:32

Supervisez vos containers #Docker avec #OMS ! https://t.co/1i6YwdTOOk https://t.co/IctGPaUoFn

July 10, 2017 09:31

@slackX Looks great!

July 09, 2017 13:01

RT @julwhite: Microsoft’s acquisition of Cloudyn will help @Azure customers manage and optimize their cloud usage https://t.co/a3K8W1GpPs

July 01, 2017 09:14