Proxy connection

Hi, please can you help me?
I’m behind a proxy and when I try to install modules, system denies to connect to internet. Please can you explain how to pass data over a proxy server with authentication?

Hi, welcome to the forum :wave:

Have you tried the -Proxy and -ProxyCredential parameters of the Install-Module cmdlet?

I’m not behind a proxy, but it would go something like this:

Install-Module NewModule -Proxy 'http://mylocalproxy:8080' -ProxyCredential (Get-Credential)