New-NetIntentGlobalProxyOverrides

Creates a new instance for global proxy overrides.

Syntax

New-NetIntentGlobalProxyOverrides
   -ProxyServer <String>
   [-ProxyBypass <String>]
   [-AutoDetect]
   [<CommonParameters>]
New-NetIntentGlobalProxyOverrides
   [-AutoDetect]
   -AutoConfigUrl <String>
   [<CommonParameters>]

Description

The New-NetIntentGlobalProxyOverrides cmdlet configures proxy setting override by specifying a proxy server or bypass list.

Examples

Example

$params = @{
    ProxyServer = "proxy.example.com"
    ProxyBypass = "localhost;*.example.com"
}
New-NetIntentGlobalProxyOverrides @params

This example sets the proxy server to proxy.example.com and specifies that traffic to localhost and any subdomains of example.com should bypass the proxy.

Parameters

-AutoConfigUrl

Specifies the URL of the automatic configuration script.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-AutoDetect

Configures the system to automatically detect proxy settings.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProxyBypass

Specifies a list of addresses that should bypass the proxy server.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProxyServer

Specifies the address of the proxy server.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs