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:
This corresponds these settings in IE (Tools – Internet Options – Connections – Lan Settings):
It can be useful if you have want to automate this.
