# Set-RASConnectionBrokerDefaultSettings

## NAME

Set-RASConnectionBrokerDefaultSettings

## SYNOPSIS

Modifies default settings used to configure a RAS Connection Broker.

## SYNTAX

**Set-RASConnectionBrokerDefaultSettings** \[[APIPort](#apiport-string) *(uint)*] \[[APIToken](#apitoken-string) *(string)*] \[[CertificateId](#certificateid-string) *(uint)*] \[[Cipher](#cipher-string) *(string)*] \[[CipherPreference](#cipherpreference-string) *(bool)*] \[-[CipherStrength](#CipherStrength) {Low | Medium | High | Custom}] \[[EnableAPI](#enableapi-string) *(bool)*] \[-[MinSSLVersion](#MinSSLVersion) {TLSv1 | TLSv1\_1 | TLSv1\_2 | TLSv1\_3}] \[[SiteId](#siteid-string) *(uint)*] \[*(*[*CommonParameters*](#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.

## PARAMETERS

## SiteId (uint)

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

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## EnableAPI (bool)

Enable or disable the API.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## APIPort (uint)

API port number.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MinSSLVersion

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

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

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

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

Possible values: Low, Medium, High, Custom

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Cipher (string)

Cipher string.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## CipherPreference (bool)

Enable or disable Use ciphers according to server preference.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## CertificateId (uint)

The Certificate ID.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## APIToken (string)

API token.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        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

-none-

## OUTPUTS

-none-

## EXAMPLES

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

Set-RASConnectionBrokerDefaultSettings -SiteId 2 -APIPort 5000

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

## RELATED LINKS

* [Get-RASConnectionBrokerDefaultSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasconnectionbrokerdefaultsettings)
* [Set-RASBroker](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasbroker)
