Wade Weppler Posted June 23, 2021 Posted June 23, 2021 Would love a way to reference PulseWay data in scripts. A use case is installation of a backup client, or other software that can include the organization name as a commandline installation option to associate that software with a specific client. eg: /path/to/install.msi ORGANIZATION=$PWY_ORGANIZATION SITE=$PWY_SITE This way we can right one script that would apply across all clients instead of having to customize a script/add a custom field for each client. The info is already there, just would be nice to reference it somehow from a script. UTS Brian 1
UTS Brian Posted September 23, 2021 Posted September 23, 2021 Just a note we would also find this very useful.
Mark G38 Posted September 23, 2021 Posted September 23, 2021 There currently is not, but that is the biggest thing that I have written out about scripting in the below linked thread. I also have a feature request in. The idea behind this would be you can set Site level or Script level custom fields and be able to reference them in your scripts, to do exactly what you are talking about.  https://pulseway.featureupvote.com/suggestions/189283/more-robust-input-and-site-variables  Â
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now