# Add-RASMFARadiusAutoCondition

## NAME

Add-RASMFARadiusAutoCondition

## SYNOPSIS

Adds automation condition settings to Radius provider settings.

## SYNTAX

**Add-RASMFARadiusAutoCondition** \[[Id](#id-string)] *(uint)* -[Patterns](#Patterns) *(string\[])* \[-[AutoIds](#AutoIds) *(uint\[])*] \[[Enabled](#enabled-string) *(bool)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Add-RASMFARadiusAutoCondition** \[-[InputObject](#inputobject)] *(*[*MFA*](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/mfa)*)* -[Patterns](#Patterns) *(string\[])* \[-[AutoIds](#AutoIds) *(uint\[])*] \[[Enabled](#enabled-string) *(bool)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Add-RASMFARadiusAutoCondition** \[[Name](#name-string)] *(string)* \[\[-[SiteId](#siteid-string)] *(uint)*] -[Patterns](#Patterns) *(string\[])* \[-[AutoIds](#AutoIds) *(uint\[])*] \[[Enabled](#enabled-string) *(bool)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

The cmdlet appends new attribute settings to existing ones.

## PARAMETERS

## Enabled (bool)

Whether the RADIUS Automation is enabled/disabled

```
        Required?                    false

        Position?                    named

        Default value                True

        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

```
        Required?                    true

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

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

## OUTPUTS

-none-

## EXAMPLES

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

Add-RASMFARadiusAutoCondition -Id 1 -AutoIds 1,2 -Pattern "pattern\*"

Adds a new entry to the Radius automation condition list within MFA with Id 1. \[Radius Setting]

## RELATED LINKS

* [Get-RASMFARadiusAutoCondition](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasmfaradiusautocondition)
* [Set-RASMFARadiusAutoCondition](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasmfaradiusautocondition)
* [Remove-RASMFARadiusAutoCondition](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rasmfaradiusautocondition)
