# Set-RASMFARadiusAutoCondition

## NAME

Set-RASMFARadiusAutoCondition

## SYNOPSIS

Modifies automation settings to Radius provider settings based on Id.

## SYNTAX

**Set-RASMFARadiusAutoCondition** \[[AutoConditionId](#autoconditionid-string)] *(uint)* \[[Id](#id-string)] *(uint)* \[-[AutoIds](#AutoIds) *(uint\[])*] \[[Enabled](#enabled-string) *(bool)*] \[-[Patterns](#Patterns) *(string\[])*] \[-[Priority](#Priority) {Up | Down}] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASMFARadiusAutoCondition** \[-[InputObject](#inputobject)] *(*[*MFA*](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/mfa.md)*)* \[-[AutoIds](#AutoIds) *(uint\[])*] \[[Enabled](#enabled-string) *(bool)*] \[-[Patterns](#Patterns) *(string\[])*] \[-[Priority](#Priority) {Up | Down}] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASMFARadiusAutoCondition** \[[Name](#name-string)] *(string)* \[\[-[SiteId](#siteid-string)] *(uint)*] \[-[AutoIds](#AutoIds) *(uint\[])*] \[[Enabled](#enabled-string) *(bool)*] \[-[Patterns](#Patterns) *(string\[])*] \[-[Priority](#Priority) {Up | Down}] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Modifies automation settings to Radius provider settings based on Id.

## PARAMETERS

## AutoConditionId (uint)

The ID of Radius Auto Condition to modify. To update the Default pass AutoConditionId as 0.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Enabled (bool)

Whether the RADIUS Automation is enabled/disabled. Not Available for Default.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AutoIds (uint\[])

RADIUS Automation Ids.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Patterns (string\[])

RADIUS Automation Condition Patterns. Not Available for Default.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Priority ([MoveDirection](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/movedirection.md))

The direction to move the Radius Automation : Up or Down (changes the priority of the Radius Automation Condition accordingly). Not Available for Default.

Possible values: Up, Down

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Name (string)

The name of the target multi-factor authentication .

This must be the actual multi-factor authentication name used in the RAS farm.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID in which to modify the specified multi-factor authentication .

If the parameter is omitted, the site ID of the Licensing Server will be used.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of the multi-factor authentication to modify. To obtain the ID, use the Get-RASMFA cmdlet.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject ([MFA](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/mfa.md))

The multi factor authentication to modify.

To obtain an object of type MFA, use the Get-RASMFA cmdlet.

```
        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

[MFA](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/mfa.md)

## OUTPUTS

-none-

## EXAMPLES

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

Set-RASMFARadiusAutoCondition -Id 1 -RadiusAutoConditionId 2 -Pattern "newPattern\*"

Modifies entry of the Radius automation condition item at Id 2 with new Pattern within MFA with Id 1.

## RELATED LINKS

* [Get-RASMFARadiusAutoCondition](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasmfaradiusautocondition.md)
* [Add-RASMFARadiusAutoCondition](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/add-rasmfaradiusautocondition.md)
* [Remove-RASMFARadiusAutoCondition](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rasmfaradiusautocondition.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasmfaradiusautocondition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
