Add-RASClientPolicyConnection
Last updated
Last updated
Add-RASClientPolicyConnection
Adds a new connection to the Connection List.
Add-RASClientPolicyConnection [] (uint) - {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} - (string) - (uint) [()]
Add-RASClientPolicyConnection [-] () - {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} - (string) - (uint) [()]
Add-RASClientPolicyConnection [] (string) - {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} - (string) - (uint) [()]
Adds a new connection to the Connection List
The mode type of connection.
Possible values: GatewayMode, GatewaySSLMode, DirectMode, DirectSSLMode
The Server which the user is going to connect to.
The port of the Server.
Name of the client policy to modify.
This must be the actual client policy name used in the RAS farm.
The ID of the client policy to modify. To obtain the ID, use the Get-RASClientPolicy cmdlet.
The client policy object to modify.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Add-RASClientPolicyConnection -Id 1 -Mode "Gateway Mode" -Server "xyz" -ServerPort "80"
Adds the client policy connection with the following settings with Id=1.