Powershell gallery in a proxy environment This topic contains 3 replies, has 2 voices, and was last updated by Cognic 2 years, 3 months ago. Author Posts February 4, 2016 at 3:19 am #34820 CognicParticipant Hi, Has anyone managed to get the internet access from Powershell v5 for the Powershell gallery to work, typically with nuget based repositories? If yes, please share how you did. Thanks February 4, 2016 at 4:51 am #34823 CognicParticipant This is what I see: "WARNING: Unable to download the list of available providers. Check your internet connection." Internet access is there from the machine when browsed from Internet explorer February 4, 2016 at 5:11 am #34826 Wilfredo PerezParticipant Can you update help? You may have to authenticate first from within Powershell. I am behind a proxy so I need to use: $webclient = New-Object System.Net.WebClient $creds = Get-Credential $webclient.Proxy.Credentials = $creds Save-Help -DestinationPath C:\Powershell Update-Help Do you have admin rights? Hope this helps February 4, 2016 at 6:12 am #34832 CognicParticipant Thanks Wilfredo for your reply. Apologies that I haven't mentioned the ways I have already tried. I have tried setting the proxy through the PowerShell in the following ways: $webclient = New-Object System.Net.WebClient $creds = Get-Credential $webclient.Proxy.Credentials = $creds Also, using the scripted credentials: $webclient = New-Object System.Net.WebClient $pwd = ConvertTo-SecureString "password" -AsPlainText -Force $creds = New-Object System.Management.Automation.PSCredential("username",$pwd) $webclient.Proxy.Credentials = $creds But both didn't work. I can't update help and I do have admin rights. Author Posts You must be logged in to reply to this topic.