# Remove-RASClientPolicyConnection.md

## NAME

Remove-RASClientPolicyConnection

## SYNOPSIS

Removes the connection list.

## SYNTAX

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

\*\*Remove-RASClientPolicyConnection \[-[InputObject](#inputobject)] *(*[*ClientRules*](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/clientrules)*)* -[Mode](#Mode) {GatewayMode | GatewaySSLMode | DirectMode | DirectSSLMode} -[Server](#server-string) *(string)* -[ServerPort](#serverport-string) *(uint)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

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

## DESCRIPTION

Removes the connection list.

## PARAMETERS

## Mode ([Mode](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/mode))

The mode type of connection.

Possible values: GatewayMode, GatewaySSLMode, DirectMode, DirectSSLMode

```
        Required?                    true

        Position?                    named

        Default value                GatewayMode

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Server (string)

The Server which the user is going to connect to.

```
        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ServerPort (uint)

The port of the Server.

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Name (string)

Name of the client policy to modify.

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

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

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

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject ([ClientRules](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/clientrules))

The client policy object to modify.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

[ClientRules](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/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.

## RELATED LINKS

* [Set-RASClientPolicy](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-rasclientpolicy)
* [Get-RASClientPolicy](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rasclientpolicy)
* [Add-RASClientPolicyConnection](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/add-rasclientpolicyconnection)
* [Get-RASClientPolicyConnection](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rasclientpolicyconnection)
