[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 @ritazzhang: Checkout this thorough walk-through of how to run distributed @TensorFlow object detection on @kubernetesio on @Azure https…

November 20, 2017 22:20

Conférence "Optimiser votre démarche #DevOps avec #Docker" le vendredi 8 Décembre chez @InfiniteSquare -> https://t.co/9Dfg7RP9qb

November 20, 2017 15:52

#Docker and #Linux Containers on #Windows, with or without Hyper-V Virtual Machines https://t.co/Fgb4m5PvPv

November 20, 2017 07:25

Setting up High available #MySQL deployments on #ServiceFabric using containers and #Docker Compose https://t.co/I7tDVp3pJW

November 17, 2017 18:28

#DevOps: Pipeline as code (YAML) preview for #VSTS https://t.co/V5hHekAYOP

November 17, 2017 16:16

#Microservices and #Docker containers: Architecture, Patterns and Development guidance (Updated for #dotnetcore 2.0) https://t.co/9xkjGIAHSa

November 17, 2017 14:17

Preview the new #Azure Storage SDK for #Go & Storage SDKs roadmap https://t.co/NTXX4YrmGx

November 17, 2017 13:02

Apache Spark to Azure #CosmosDB Connector is now generally available https://t.co/qXuTb54sXS

November 17, 2017 12:54

Announcing the general availability of Azure #CosmosDB Table API https://t.co/m5SW559zuS

November 17, 2017 10:50

Thanks to #Azure #DevOps Project, it has never been easier to create a continuous delivery pipeline for your app! https://t.co/0z3uLKo3qT

November 16, 2017 08:27

Microsoft Cognitive Services updates for Microsoft Connect(); https://t.co/MDgcTJQDxp

November 16, 2017 08:24

Microsoft Azure IoT Edge brings smarts to devices at the cloud’s edge https://t.co/nYNj2irlV8

November 16, 2017 08:22

Need a #Serverless platform on Linux? You need to try the preview of #Azure #Function on #Linux https://t.co/94saSZgCtR

November 16, 2017 08:12

You can now run #Azure #Functions at the edge using Azure #IoTEdge, and that is really cool! https://t.co/FKKwAFfRJl

November 16, 2017 08:11

RT @gabrtv: Join me and @brendandburns for a @Reddit AMA on Friday Nov 17 at 9am PT https://t.co/ysbsogu8jv

November 15, 2017 22:07