다음을 통해 공유


Module.SetProxyConfiguration(Uri, PSCredential, Boolean) Method

Definition

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

Applies to