Posted on 10-15-2019 11:24 AM
I'm attempting to create an extension attribute that will echo the following command.
sudo system_profiler SPPrintersDataType | grep 'Perfection|Expression'
What I have so far in the EA is
echo "<result>system_profiler SPPrintersDataType | grep 'Perfection|Expression
</result>"
Any suggestions are appreciated.
Posted on 10-15-2019 12:04 PM
Looks like you are missing the ' at the end of Perfection|Expression
echo "<result>system_profiler SPPrintersDataType | grep 'Perfection|Expression'</result>"