# Remove-RASMFA

## NAME

Remove-RASMFA

## SYNOPSIS

Removes a Multi Factor Authentication from a site.

## SYNTAX

**Remove-RASMFA** \[[Id](#id-string)] _(uint)_\*\*\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Remove-RASMFA** \[-[InputObject](#inputobject)]\*\*_(_[_MFA_](../types/mfa)_)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Remove-RASMFA** \[[Name](#name-string)] _(string)_\*\*\
\[\[-[SiteId](#siteid-string)] _(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Removes a Multi Factor Authentication from a site.

## PARAMETERS

## Name (string)

The name of the Multi Factor Authentication to remove from a site.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID from which to remove the Multi Factor Authentication.

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

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of a Multi Factor Authentication to remove from the site.

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](../types/mfa))

The Multi Factor Authentication Settings to remove from a site.

To obtain a MFA object, use the Get-RASMFA command.

```
        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](../types/mfa)

## OUTPUTS

-none-

## EXAMPLES

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

Remove-RASMFA "My VDI Pool"

Removes the Multi Factor Authentication specified by name from the\
Licensing Server site (default).

To remove a Multi Factor Authentication from a specific site, specify\
the -SiteId parameter.\
\*\*---------- EXAMPLE 2 ----------

Get-RASMFA -Id 10 | Remove-RASMFA

Removes a Multi Factor Authentication, which is identified by an object\
obtained from the pipeline output.

## RELATED LINKS

* [New-RASMFA](new-rasmfa)
* [Get-RASMFA](get-rasmfa)
