# Set-RASBrokerAutoPromotionSettings

## NAME

Set-RASBrokerAutoPromotionSettings

## SYNOPSIS

Modifies Parallels RAS Broker Auto Promotion settings.

## SYNTAX

**Set-RASBrokerAutoPromotionSettings** \[[AutoPromoteAfterMins](#autopromoteaftermins-string) *(uint)*] \[[Enabled](#enabled-string) *(bool)*] \[[FailbackEnabled](#failbackenabled-string) *(bool)*] \[[Replicate](#replicate-string) *(bool)*] \[[SiteId](#siteid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

The Set-RASBrokerAutoPromotionSettings cmdlet modifies Parallels RAS Broker Auto Promotion settings using the specified parameters and their values.

All parameters are optional.

## PARAMETERS

## SiteId (uint)

The site ID to which the Parallels RAS Broker Auto Promotion settings refer to.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Enabled (bool)

Whether Auto Promotion is enabled or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AutoPromoteAfterMins (uint)

The amount of time (in mins) required to enable auto promotion.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## FailbackEnabled (bool)

Whether Failback is enabled or not.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Replicate (bool)

Whether Replicate is enabled or not.

```
        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-RASBrokerAutoPromotionSettings -AllowAutoPromo $false

Modifies the specified AllowAutoPromo parameter.

## RELATED LINKS

* [Get-RASBrokerAutoPromotionSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasbrokerautopromotionsettings)
