Relevance - custom script output

(imported topic written by shedd44)


is possible use run custom script in relevace context, I mean compare custom script(like cmd of vbs) output with some value.



(imported comment written by SystemAdmin)

I don’t believe the CMD or VBS script can actually be used in a Relevance clause, I usually do it as a two part process. A reoccurring task to run the script and capture the output to a file, then another Fixlet or Task that evaluate the contents of the output file.

I’m currently doing this to evaluate the state of PGP encryption on laptops. I have to execute a command line program (I only have it run once every 12 hours), capture the output and evaluate it to determine encryption status of a given computer.