cyberark / epv-api-scripts

These API scripts enable CyberArk users to automate privileged account management task like account creation, user management, and more.
https://www.cyberark.com/best
Apache License 2.0
203 stars 176 forks source link

update script to allow providing global parameters rather than needing to edit the script. #265

Closed Ethlas closed 2 years ago

Ethlas commented 2 years ago

https://github.com/cyberark/epv-api-scripts/blob/0597e16dd56a7b7aadb403f9a8993766318b1eaf/Account%20Onboard%20Utility/Accounts_Onboard_Utility.ps1#L132

This parameter and the rest should probably be parameters we can provide when running the script. Needing to edit the script as part of this process is not really a good way to have scripts done.