Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I acquire the Windows system proxy using Powershell?

I know about this

$webproxy = (get-itemproperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').ProxyServer

Is there something more generic, or is that the best?

share|improve this question
up vote 1 down vote accepted

Don't know of anything better than that I'm afraid.

It goes straight to the setting and access to the registry is pretty efficient.

share|improve this answer
You're probably right. – CMCDragonkai Jun 12 '14 at 7:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.