Posted June 23, 20213 yr 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.
September 23, 20213 yr 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  Â
Create an account or sign in to comment