pspete / psPAS

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

CyberArk 11.2.0 does not meet the minimum version requirement of 11.4 for Get-PASPlatform (using ParameterSet: targets) #333

Closed jhonyczev closed 3 years ago

jhonyczev commented 3 years ago

Describe the issue When I execute de Get-PASPlatform cmdlet it gives me an error: CyberArk 11.2.0 does not meet the minimum version requirement of 11.4 for Get-PASPlatform (using ParameterSet: targets)

I understand that this capability is enabled since version 9 of cyberark.

To Reproduce Steps to reproduce the behavior:

  1. Establish the PASession
  2. execute the Get-PASPlatform cmdlet

Expected behavior I expect the list of platforms and attributes for the version 11.2 of cyberark

Screenshots & Console Output image

Console Output Code Block:

![image](https://user-images.githubusercontent.com/76976163/103588179-9ffb6800-4eb6-11eb-99cc-f36fce634644.png)

Your Environment Include relevant details about your environment

Additional context Add any other context about the problem here.

pspete commented 3 years ago

The function defaults to the latest supported API which requires at least 11.4. For 11.2, the platforms ParameterSet can be used: https://pspas.pspete.dev/commands/Get-PASPlatform#platforms The PlatformType and/or Search parameters will need to be specified.