Invoke-RASMFA
Last updated
Last updated
Invoke-RASMFA
Invokes a MFA action.
Invoke-RASMFA - <SwitchParameter> [- <List`1>] [- <string>] [- {Parallel | Serial}] [- {PAP | CHAP}] [- <uint>] [- <uint>] [- <string>] [- <uint>] [<>]
Invoke-RASMFA [-] <uint> - <SwitchParameter> [<>]
Invoke-RASMFA - <SwitchParameter> - <string> [<>]
Invoke-RASMFA [-] <> - <SwitchParameter> [<>]
Invoke-RASMFA [[-] <uint>] - <string> - <SwitchParameter> [- <string>] [<>]
Invokes a MFA action.
-Id <uint> The ID of the MFA to invoke the action on. To obtain the ID, use the Get-RASMFA cmdlet.
-Duplicate <SwitchParameter> Specifies to duplicate the MFA provider.
-CheckConnection <SwitchParameter> Specifies to duplicate the MFA provider.
-ValidateADAccess <SwitchParameter> Specifies to duplicate the MFA provider.
-ImportVendor <SwitchParameter> Specifies to duplicate the MFA provider.
-Server <string> The server of the second level authentication provider.
-BackupServer <string> The backup server of the second level authentication provider.
-Port <uint> The port number of the second level authentication provider.
Possible values: Parallel, Serial
-Timeout <uint> Connection timeout (in seconds).
-Retries <uint> Number of retries.
Possible values: PAP, CHAP
-AttributeInfoList <List`1> List of the RADIUS attribute information.
-SiteId <uint> Site ID from which to Validate the MFA AD Access.
If the parameter is omitted, the Licensing Server site ID will be used.
-ADCustomAttribute <string> AD Custom Attribute
-UserPrincipalName <string> The User Principal Name
-VendorFile <string> Vendor Details file name.
<CommonParameters>
---------- EXAMPLE 1 ----------
Invoke-RASMFA -Id 1 -Duplicate
Adds a new MFA by duplicating the MFA with ID 1. ---------- EXAMPLE 2 ----------
Invoke-RASMFA -ValidateADAccess -SiteId 1 -ADCustomAttribute "customasd" -UserPrincipalName "test@prls.dev"
Adds a new MFA by duplicating the MFA with ID 1. ---------- EXAMPLE 3 ----------
Invoke-RASMFA -CheckConnection -Server 1.1.1.1 -BackupServer 2.2.2.2 -Port 80 -HAMode Parallel -Timeout 1 -Retries 1 -SecretKey $secretkey -PasswordEncoding CHAP
Adds a new MFA by duplicating the MFA with ID 1.
-InputObject <> The MFA object to invoke the action on.
-HAMode <> The type of high availability mode to be used.
-PasswordEncoding <> The type of password encoding to be used.