For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Add-RASClientPolicyConnection

SYNOPSIS

Adds a new connection to the Connection List.

SYNTAX

Add-RASClientPolicyConnection [-Id] <uint>
 -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server <string>
 -ServerPort <uint> [<CommonParameters>]
Add-RASClientPolicyConnection [-InputObject] <ClientRules>
 -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server <string>
 -ServerPort <uint> [<CommonParameters>]
Add-RASClientPolicyConnection [-Name] <string>
 -Mode {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -Server <string>
 -ServerPort <uint> [<CommonParameters>]

DESCRIPTION

Adds a new connection to the Connection List

EXAMPLES

Example 1

Adds the client policy connection with the following settings with Id=1.

PARAMETERS

-Mode

The mode type of connection.

Possible values: GatewayMode, GatewaySSLMode, DirectMode, DirectSSLMode

Type reference: Mode

-Server

The Server which the user is going to connect to.

-ServerPort

The port of the Server.

-Name

Name of the client policy to modify.

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

-Id

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

-InputObject

The client policy object to modify.

Type reference: ClientRules

CommonParameters

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

INPUTS

ClientRules

OUTPUTS

None

Last updated