cyberark / epv-api-scripts

These API scripts enable CyberArk users to automate privileged account management task like account creation, user management, and more.

Home Page:https://www.cyberark.com/best

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deleting Safes Does Not Accept "-FilePath" Correctly

wissam-jameel opened this issue · comments

Running the command below with "-SafeName" switch works every time:
.\Safe-Management.ps1 -PVWAURL https://mypvwa -AuthType ldap -Delete -SafeName "Test-Safe"

Running the command below with "-FilePath" switch will prompt for SafeName parameter. Adding the file path again in the prompt will make it work:
.\Safe-Management.ps1 -PVWAURL https://mypvwa -AuthType ldap -Delete -FilePath .\safes_delete.csv

Trying the command below with "-SafeName" switch and the file path will not work:
.\Safe-Management.ps1 -PVWAURL https://mypvwa -AuthType ldap -Delete -SafeName .\safes_delete.csv

CyberArk