Get-VPASIdentityAdminSecurityQuestion


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

GET SPECIFIC ADMIN SECURITY QUESTION IN IDENTITY


Description:

USE THIS FUNCTION TO RETRIEVE A SPECIFIC ADMIN SECURITY QUESTION IN IDENTITY


Syntax:

Get-VPASIdentityAdminSecurityQuestion -QuestionSearchQuery <String> [-token <Hashtable>] [<CommonParameters>]

Get-VPASIdentityAdminSecurityQuestion -QuestionID <String> [-token <Hashtable>] [<CommonParameters>]

Get-VPASIdentityAdminSecurityQuestion -InputParameters <Hashtable> [-token <Hashtable>] [<CommonParameters>]


Parameters:

-QuestionSearchQuery <String>
Search query to locate the target admin security question

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-QuestionID <String>
Unique target QuestionID mapping to the target admin security question
Supply the QuestionID to skip any querying for target admin security question

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-InputParameters <Hashtable>
HashTable of values containing the parameters required to make the API call

Required: true
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-token <Hashtable>
HashTable of data containing various pieces of login information (PVWA, LoginToken, HeaderType, etc).
If -token is not passed, function will use last known hashtable generated by New-VPASToken

Required: false
Position: named
Default value:
Accept pipeline input: true (ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216)


Examples:

$AdminSecurityQuestion = Get-VPASIdentityAdminSecurityQuestion -QuestionSearchQuery {QUESTIONSEARCHQUERY VALUE}

$AdminSecurityQuestion = Get-VPASIdentityAdminSecurityQuestion -QuestionID {QUESTIONID VALUE}

$InputParameters = @{
        QuestionSearchQuery = "favorite color"
}
$AdminSecurityQuestion = Get-VPASIdentityAdminSecurityQuestion -InputParameters $InputParameters

$InputParameters = @{
        QuestionID = "a_7892jhksdf-wefw-hgdfgh-6465-sjkldfh8497"
}
$AdminSecurityQuestion = Get-VPASIdentityAdminSecurityQuestion -InputParameters $InputParameters


Outputs:

If successful:
{
         "Uuid": "a_7892jhksdf-wefw-hgdfgh-6465-sjkldfh8497",
         "Culture": "all",
         "Question": "What is your favorite color?"
}

$false if failed