{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7156","labels_url":"https://api.github.com/repos/npm/npm/issues/7156/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7156/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7156/events","html_url":"https://github.com/npm/npm/issues/7156","id":54574032,"number":7156,"title":"How to get proxy server information on Windows","user":{"login":"smikes","id":5124609,"avatar_url":"https://avatars.githubusercontent.com/u/5124609?v=3","gravatar_id":"","url":"https://api.github.com/users/smikes","html_url":"https://github.com/smikes","followers_url":"https://api.github.com/users/smikes/followers","following_url":"https://api.github.com/users/smikes/following{/other_user}","gists_url":"https://api.github.com/users/smikes/gists{/gist_id}","starred_url":"https://api.github.com/users/smikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smikes/subscriptions","organizations_url":"https://api.github.com/users/smikes/orgs","repos_url":"https://api.github.com/users/smikes/repos","events_url":"https://api.github.com/users/smikes/events{/privacy}","received_events_url":"https://api.github.com/users/smikes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-16T13:14:14Z","updated_at":"2015-01-16T13:14:14Z","closed_at":null,"body":"Just stashing this here, probably belongs in its own module --\r\n\r\nRequires powershell\r\n\r\n```powershell\r\nPS C:\\Users\\Sam> Get-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\" -Name ProxyServer\r\n\r\n\r\nPSPath       : Microsoft.PowerShell.Core\\Registry::HKEY_CURRENT_USER\\Software\\M\r\n               icrosoft\\Windows\\CurrentVersion\\Internet Settings\r\nPSParentPath : Microsoft.PowerShell.Core\\Registry::HKEY_CURRENT_USER\\Software\\M\r\n               icrosoft\\Windows\\CurrentVersion\r\nPSChildName  : Internet Settings\r\nPSDrive      : HKCU\r\nPSProvider   : Microsoft.PowerShell.Core\\Registry\r\nProxyServer  : **host:port**\r\n```\r\n\r\nNote that the `host:port` lacks a leading `http://`  ; I am not sure if there is a better way to get the item property that is less of a nightmare to parse."}}