Get-VPASAllApplications


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

GET ALL APPLICATIONS


Description:

USE THIS FUNCTION TO RETURN ALL APPLICATION IDS IN CYBERARK


Syntax:

Get-VPASAllApplications [[-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:

$ApplicationsJSON = Get-VPASAllApplications


Outputs:

If successful:
[
         {
                 "value": [
                         "VPasAppIDTest",
                         {
                                 "AccessPermittedFrom": 0,
                                 "AccessPermittedTo": 24,
                                 "AllowExtendedAuthenticationRestrictions": false,
                                 "AppID": "VPasAppIDTest",
                                 "BusinessOwnerEmail": "",
                                 "BusinessOwnerFName": "",
                                 "BusinessOwnerLName": "",
                                 "BusinessOwnerPhone": "",
                                 "Description": "",
                                 "Disabled": false,
                                 "ExpirationDate": null,
                                 "Location": "\\"
                         }
                 ]
         },
         {
                 "value": [
                         "VpasModuleAppIDTest",
                         {
                                 "AccessPermittedFrom": 0,
                                 "AccessPermittedTo": 24,
                                 "AllowExtendedAuthenticationRestrictions": false,
                                 "AppID": "VpasModuleAppIDTest",
                                 "BusinessOwnerEmail": "vadim.melamed@vman.com",
                                 "BusinessOwnerFName": "vadim",
                                 "BusinessOwnerLName": "melamed",
                                 "BusinessOwnerPhone": "",
                                 "Description": "Testing appID with text auditing",
                                 "Disabled": false,
                                 "ExpirationDate": null,
                                 "Location": "\\"
                         }
                 ]
         },
         {
                 "value": [
                         "AIMWebService",
                         {
                                 "AccessPermittedFrom": 0,
                                 "AccessPermittedTo": 24,
                                 "AllowExtendedAuthenticationRestrictions": false,
                                 "AppID": "AIMWebService",
                                 "BusinessOwnerEmail": "",
                                 "BusinessOwnerFName": "",
                                 "BusinessOwnerLName": "",
                                 "BusinessOwnerPhone": "",
                                 "Description": "",
                                 "Disabled": false,
                                 "ExpirationDate": null,
                                 "Location": "\\"
                         }
                 ]
         }
]

$false if failed