Q: (following text of first "Type : " of preceding text of last “MaintMode” of lines containing “Type” of it) of file “/tmp/mojo”
A: lab
T: 732
But to take it a step further, how can I run a utility that generates the output without creating and then reading a static file.
Better yet, in my Bigfix Enterprise Console, Computers , there’s a column heading “environment” that already has this result, but where is that coming from???
Sounds like someone else already tagged the devices?
Running a command and evaluating results are intentionally separate actions in BigFix, there isn’t a way to run the command and pipe it straight into a BigFix returned value. However, if you can get at the information through the registry, WMI, or DMI, you can bypass the output to file step.