pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
296 stars 91 forks source link

To get/list all the account for CyberArk Version: Version 9.8.0 (9.80.0.7) #93

Closed Lincux closed 6 years ago

Lincux commented 6 years ago

Your Environment

Expected Behaviour

To get/list all the account.

Current Behaviour

Version 9.3 - 10.3: Returns information about an account. If more than one account meets the search criteria, only the first account will be returned (the Count output parameter will display the number of accounts that were found).

Possible Solution

Steps to Reproduce (for bug reports)

1 .

2 .

3 .

4 .

Sample Output

Context

pspete commented 6 years ago

Hi @Lincux - what you want to achieve simply is not possible before CyberArk 10.4; the help text you pasted specifically states the limitation and affected versions. Get-PASAccount has already been updated to return lists of results found when searching for accounts in CyberArk 10.4+

pspete commented 6 years ago

@Lincux - I'm closing this as there is nothing to do where an option is not supported by the API - the functionality you want is only available through the API from CyberArk 10.4 onwards.