Get-VPASAllTargetPlatforms


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

GET ALL TARGET PLATFORMS DETAILS


Description:

USE THIS FUNCTION TO GET DETAILS ABOUT ALL TARGET PLATFORMS IN CYBERARK


Syntax:

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

$AllTargetPlatformDetailsJSON = Get-VPASAllTargetPlatforms


Outputs:

If successful:
{
         "Platforms": [
                 ...
                 {
                         "Active": true,
                         "SystemType": "*NIX",
                         "AllowedSafes": ".*",
                 "PrivilegedAccessWorkflows": "@{RequireDualControlPasswordAccessApproval=; EnforceCheckinCheckoutExclusiveAccess=; EnforceOnetimePasswordAccess=; RequireUsersToSpecifyReasonForAccess=}",
                 "CredentialsManagementPolicy": "@{Verification=; Change=; Reconcile=; SecretUpdateConfiguration=}",
                 "PrivilegedSessionManagement": "@{PSMServerId=PSMServer_akjshd298734; PSMServerName=PSM Server on VmanCon1}",
                         "ID": 94,
                         "PlatformID": "NEWKEYSAFE",
                         "Name": "NEWKEYSAFE",
                         "PlatformBaseType": "Unix",
                         "PlatformBaseID": "UnixSSHKeys"
                 },
                 {
                         "Active": false,
                         "SystemType": "Database",
                         "AllowedSafes": ".*",
                 "PrivilegedAccessWorkflows": "@{RequireDualControlPasswordAccessApproval=; EnforceCheckinCheckoutExclusiveAccess=; EnforceOnetimePasswordAccess=; RequireUsersToSpecifyReasonForAccess=}",
                 "CredentialsManagementPolicy": "@{Verification=; Change=; Reconcile=; SecretUpdateConfiguration=}",
                         "ID": 17,
                         "PlatformID": "MySQL",
                         "Name": "MySQL Server",
                         "PlatformBaseType": "MSSql",
                         "PlatformBaseID": "MSSql"
                 },
                 {
                         "Active": true,
                         "SystemType": "Windows",
                         "AllowedSafes": ".*",
                 "PrivilegedAccessWorkflows": "@{RequireDualControlPasswordAccessApproval=; EnforceCheckinCheckoutExclusiveAccess=; EnforceOnetimePasswordAccess=; RequireUsersToSpecifyReasonForAccess=}",
                 "CredentialsManagementPolicy": "@{Verification=; Change=; Reconcile=; SecretUpdateConfiguration=}",
                 "PrivilegedSessionManagement": "@{PSMServerId=PSMServer_HKJASS289374; PSMServerName=PSM Server on VmanCon2}",
                         "ID": 7,
                         "PlatformID": "WinDomain",
                         "Name": "Windows Domain Account",
                         "PlatformBaseType": "Windows",
                         "PlatformBaseID": "WinDomain"
                 },
                 {
                         "Active": false,
                         "SystemType": "Windows",
                         "AllowedSafes": ".*",
                 "PrivilegedAccessWorkflows": "@{RequireDualControlPasswordAccessApproval=; EnforceCheckinCheckoutExclusiveAccess=; EnforceOnetimePasswordAccess=; RequireUsersToSpecifyReasonForAccess=}",
                 "CredentialsManagementPolicy": "@{Verification=; Change=; Reconcile=; SecretUpdateConfiguration=}",
                 "PrivilegedSessionManagement": "@{PSMServerId=PSMServer_HKJASS289374; PSMServerName=PSM Server on VmanCon2}",
                         "ID": 6,
                         "PlatformID": "WinServerLocal",
                         "Name": "Windows Server Local Accounts",
                         "PlatformBaseType": "Windows",
                         "PlatformBaseID": "WinServerLocal"
                 },
                 ...
         ],
         "Total": 82
}

$false if failed