> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rasconnectionbrokerdefaultsettings.md).

# Set-RASConnectionBrokerDefaultSettings

## SYNOPSIS

Modifies default settings used to configure a RAS Connection Broker.

## SYNTAX

```powershell
Set-RASConnectionBrokerDefaultSettings [-AllClientConnectionsLimit <uint>]
 [-AllConnectionsLimit <uint>] [-APIPort <uint>] [-APIToken <string>] [-BackendLimit <uint>]
 [-BlockedTimeout <uint>] [-CBAPILimit <uint>] [-CertificateId <uint>] [-Cipher <string>]
 [-CipherPreference <bool>] [-CipherStrength {Low | Medium | High | Custom}] [-EnableAPI <bool>]
 [-LimitsEnabled <bool>] [-MinSSLVersion {TLSv1 | TLSv1_1 | TLSv1_2 | TLSv1_3}] [-SiteId <uint>]
 [<CommonParameters>]
```

## DESCRIPTION

Modifies default settings used to configure a RAS Connection Broker.

For each setting, the cmdlet has a corresponding input parameter. To modify a setting, specify a matching parameter and its value.

Default settings are defined on a site level and are applied to a Connection Broker when it is initially added to the site.

To retrieve the current defaults settings, use the Get-RASConnectionBrokerDefaultSettings cmdlet.

## EXAMPLES

### Example 1

```powershell
Set-RASConnectionBrokerDefaultSettings -SiteId 2 -APIPort 5000
```

Sets the default value of the APIPort property for the specified site.

## PARAMETERS

### -SiteId

Site ID for which to modify the default Connection Broker settings.

```yaml
Type: uint
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -EnableAPI

Enable or disable the API.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -APIPort

API port number.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -MinSSLVersion

Minimum SSL version. Accepted values: TLSv1\_3 (TLS v1.3 only, strong), TLSv1\_2 (TLS v1.2 - TLS v1.3), TLSv1\_1 (TLS v1.1 - TLS v1.3), TLSv1 (TLS v1 - TLS v1.3).

Possible values: TLSv1, TLSv1\_1, TLSv1\_2, TLSv1\_3

Type reference: [AcceptedSSLVersion](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/acceptedsslversion.md)

```yaml
Type: AcceptedSSLVersion
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CipherStrength

Cipher strength. Accepted values: Low, Medium, High, Custom.

Possible values: Low, Medium, High, Custom

Type reference: [CipherStrength](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/cipherstrength.md)

```yaml
Type: CipherStrength
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Cipher

Cipher string.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CipherPreference

Enable or disable Use ciphers according to server preference.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CertificateId

The Certificate ID.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -APIToken

API token.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -LimitsEnabled

Whether the connection limits are enabled or disabled.

```yaml
Type: bool
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -BlockedTimeout

Client: The blocked timeout in minutes.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllClientConnectionsLimit

Client: The maximum number of All Client Connections allowed (0 = Unlimited).

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -CBAPILimit

Global: The maximum number of Connection Broker API connections allowed (0 = Unlimited).

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -BackendLimit

Global: The maximum number of Backend connections allowed (0 = Unlimited).

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllConnectionsLimit

Global: The maximum number of All Connections allowed (0 = Unlimited).

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### 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](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### None

## RELATED LINKS

* [Get-RASConnectionBrokerDefaultSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rasconnectionbrokerdefaultsettings.md)
* [Set-RASConnectionBroker](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rasconnectionbroker.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rasconnectionbrokerdefaultsettings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
