Jump to content

Is there a way to reference PulseWay data (ie. Organization, Site, etc.) in scripts?


Wade Weppler

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 months later...

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

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...