Quantcast
Channel: PowerShell – CHUVASH.eu
Viewing all articles
Browse latest Browse all 20

Set IE Proxy Server with PowerShell

$
0
0

Today just a quick one-liner tip for PowerShell.  Use this script to set a proxy server in IE Settings. I got the inspiration from Aymeric’s blog:  Scripting : Toggle proxy server in IE settings with PowerShell:

sp AutoConfigUrl "http://proxy.contoso.com" `
   -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"

By the way sp is just alias for Set-ItemProperty cmdlet:
proxy_002

This corresponds these settings in IE (Tools – Internet Options – Connections – Lan Settings):

proxy_001

It can be useful if you have want to automate this.



Viewing all articles
Browse latest Browse all 20

Trending Articles