Module.SetProxyConfiguration(Uri, PSCredential, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public void SetProxyConfiguration (Uri proxy, System.Management.Automation.PSCredential proxyCredential, bool proxyUseDefaultCredentials);
member this.SetProxyConfiguration : Uri * System.Management.Automation.PSCredential * bool -> unit
Public Sub SetProxyConfiguration (proxy As Uri, proxyCredential As PSCredential, proxyUseDefaultCredentials As Boolean)
Parameters
- proxy
- Uri
The HTTP Proxy to use.
- proxyCredential
- PSCredential
The HTTP Proxy Credentials
- proxyUseDefaultCredentials
- Boolean
True if the proxy should use default credentials