Remove-RASClientPolicyConnection.md

NAME

Remove-RASClientPolicyConnection

SYNOPSIS

Removes the connection list.

SYNTAX

**Remove-RASClientPolicyConnection [Id] (uint) -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server (string) -ServerPort (uint) [(CommonParameters)]

**Remove-RASClientPolicyConnection [-InputObject] (ClientRules) -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server (string) -ServerPort (uint) [(CommonParameters)]

**Remove-RASClientPolicyConnection [Name] (string) -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server (string) -ServerPort (uint) [(CommonParameters)]

DESCRIPTION

Removes the connection list.

PARAMETERS

Mode (Mode)

The mode type of connection.

Possible values: GatewayMode, GatewaySSLMode, DirectMode, DirectSSLMode

Server (string)

The Server which the user is going to connect to.

ServerPort (uint)

The port of the Server.

Name (string)

Name of the client policy to modify.

This must be the actual client policy name used in the RAS farm.

Id (uint)

The ID of the client policy to modify. To obtain the ID, use the Get-RASClientPolicy cmdlet.

InputObject (ClientRules)

The client policy object to modify.

(CommonParameters)

INPUTS

ClientRules

OUTPUTS

-none-

EXAMPLES

**---------- EXAMPLE 1 ----------

Remove-RASClientPolicyConnection -Id 1 -Mode "Gateway Mode" -Server "xyz" -ServerPort "80"

Removes the following client policy connection with Id=1.

Last updated