pspete / psPAS

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

Minimum version requirement #122

Closed rallen967 closed 5 years ago

rallen967 commented 5 years ago

I am attempting to run basic get-pas commands, like get-PASAccount, but receiving an error on almost every command even though the version compatibility table states it should work.

PS C:> $session | Get-PASAccount -id CyberArk 9.10.0 does not meet the minimum version requirement of 10.4 for Get-PASAccount (using ParameterSet: v10ByID) At \\WindowsPowerShell\Modules\psPAS\2.3.6\Private\Assert-VersionRequirement.ps1:58 char:4

pspete commented 5 years ago

The ParameterSet detailed in the error message can only be used against version 10.4 or above. For Get-PASAccount in CyberArk Version 9.10, you can use the -Keywords and the -Safe parameters only.

rallen967 commented 5 years ago

That explains it, thank you.