Skip to content

Instantly share code, notes, and snippets.

@misskecupbung
Forked from kkbruce/IEProxy.ps1
Created December 11, 2023 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misskecupbung/4c2d8976cd4f167967fb09a9931cceb1 to your computer and use it in GitHub Desktop.
Save misskecupbung/4c2d8976cd4f167967fb09a9931cceb1 to your computer and use it in GitHub Desktop.
Get-Set-Remove IE Proxy Settings by PowerShell
# Get IE Proxy Settings
Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
# Set IE Proxy Settings
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 1
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer -value [IPorDomain:Port]
# Remove IE Proxy Setings
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 0
Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment