Sorry if this is a duplicate question, but I did try searching first.
I am trying to add an extension attribute to determine if a set of Xerox Printer drivers are installed so I can use it as a scope for a policy.
I wrote a script based off of the one in the knowledge base article (See attached image).
When I run this script via ssh on a machine it returns the correct result (In this case "Yes" because there are printer drivers installed).
The same script run on the same computer as part of Casper's inventory update returns a result of "No".
Not sure what is going on that would cause this.