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
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