Get-VPASDPAAllStrongAccountSets


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

GET ALL STRONG ACCOUNT SETS


Description:

USE THIS FUNCTION TO RETRIEVE ALL STRONG ACCOUNT TARGET SETS


Syntax:

Get-VPASDPAAllStrongAccountSets [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-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: 1
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:

$AllTargetSets = Get-VPASDPAAllStrongAccountSets


Outputs:

If successful:
{
         "target_sets": [
                 {
                         "name": "vman.com",
                         "provision_format": "\u003cuser\u003e-\u003csession-guid\u003e",
                         "description": null,
                         "enable_certificate_validation": true,
                         "secret_type": "PCloudAccount",
                         "secret_id": "abcdefgh-ijkl-1234-5678-910akjsdhg743892",
                         "type": "Domain"
                 }
         ],
         "b64_last_evaluated_key": null
}

$false if failed