[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





RT @KubernetesParis: Notre prochain meetup aura lieu chez @joinStationF ! Avec une presentation de @jcorioland de @Azure. Inscriptions ici…

February 23, 2018 12:17

@texmurphy10 @SFR_SAV @SFR Non débit pourri en adsl malheureusement... Heureusement la 4g Bouygues passe bien lors… https://t.co/VvQ3IdZ76w

February 21, 2018 05:46

Encore une soirée powered by #SFR :( Le service a été plus en panne que fonctionnel en février... https://t.co/8Fc5FnkQa0

February 20, 2018 22:05

#Docker Compose and #Kubernetes with Docker for Desktop https://t.co/o4PzCuuueh

February 19, 2018 16:57

Last week in #Azure: Azure SDK for Go GA, and more https://t.co/9F8qm4oVXR

February 19, 2018 16:53

#Container native developer experiences, Part 3 -> #Brigade https://t.co/aBnAjJR6EK

February 19, 2018 16:47

#Container native developer experiences, Part 2 - Let's talk about #Draft https://t.co/DTkWlIg4In

February 19, 2018 16:31

Container-native developer experiences, Part 1 - Overview https://t.co/8w3ftxz2fC

February 19, 2018 15:10

RT @anthonyvirapin: Comment Microsoft accompagne les startups et éditeurs de logiciels en 2018 ? https://t.co/MVfBA7zciP

February 14, 2018 22:15

RT @AzurePodcast: A full house for our conversation with Distinguished Engineer @brendandburns on the his view of the future of Kubernetes…

February 12, 2018 22:30

RT @johnshew: A look into Open Hacks & our team's work at CSE, by @BehrendtDan on @Entrepreneur Magazine https://t.co/Cs93b0X3fd

February 12, 2018 22:24

RT @docsmsft: 🚀 A New Feedback System Is Coming to https://t.co/gmFcoHd94f https://t.co/9hvCvHLsih https://t.co/G52cJYUyy3

February 12, 2018 18:03

RT @AzureCosmosDB: Azure #CosmosDB Consistency - Learn how to set consistency on your Azure #CosmosDB data to optimize the tradeoffs betwee…

February 11, 2018 18:50

@flepors @SFR_SAV @orange Oui tout n'est pas parfait, je veux bien le croire mais en un peu plus d'un an chez sfr j… https://t.co/XD558hFyqa

February 10, 2018 16:53

@SFR_SAV Re-bonjour, je vous ai bien transmis toutes les informations mais silence radio depuis votre dernier messa… https://t.co/KGiafcsyN3

February 10, 2018 14:26