Created
August 16, 2016 05:45
-
-
Save darrenjrobinson/2f7634e489ebb197a3d22b8f818c86e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$AuthenticationType = New-Object ($ns + ".AuthenticationType") | |
$callResult = New-Object ($ns + ".CallResult") | |
$authenticationRequestId = $null | |
[bool] $requireUserMatch = $true | |
$initiatingAuthenticationType ="pfsdk" | |
$result = $proxy.PfAuthUser_4([string]$mfauser,[object] $initiatingAuthenticationType, [string] "192.168.20.6", [string] "Test Script", [bool] $requireUserMatch, [ref] $callResult, [ref] $authenticationRequestId, [ref]$errorcode) | |
Write-Host "MFA Call Result Code: " $callResult.Code | |
Write-Host "MFA Call Result Description: " $callResult.Description | |
Write-Host "MFA AuthN Request ID: " $authenticationRequestId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment