Edit

Share via


New-NetIntentGlobalProxyOverrides

Creates a new instance for global proxy overrides.

Syntax

Default (Default)

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

AutoDetect

New-NetIntentGlobalProxyOverrides
    -AutoConfigUrl <String>
    [-AutoDetect]
    [<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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AutoDetect
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AutoDetect

Configures the system to automatically detect proxy settings.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyBypass

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Default
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyServer

Specifies the address of the proxy server.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Default
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Object