curl.exe -v https://codedeploy.us-east-1.amazonaws.com/ 2>&1 | Select-String -Pattern "SSL|TLS|HTTP|Connected|Failed|certificate" powershell # 1) What system proxy does .NET / PowerShell think applies for this URL? [System.Net.WebRequest]::DefaultWebProxy.GetProxy('https://codedeploy.us-east-1.amazonaws.com') # If output != the original URL -> system has a proxy configured. # 2) WinHTTP proxy (used by many CLI tools) netsh winhttp show proxy # 3) IE / per-user proxy settings (this is what the browser typically uses) Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | Select-Object ProxyEnable, ProxyServer, AutoConfigURL # 4) Env vars in the CURRENT PowerShell session $env:HTTPS_PROXY; $env:HTTP_PROXY; $env:NO_PROXY $env:HTTPS_PROXY = '' aws deploy list-on-premises-instances :proxy_uri: http://: