I took a minute to test out your script, and found a few things that
needed to be tweaked:- There are two "if" statements, but only one
closing "fi" statement- The "RESULT=$JAMFHELPER ..." line has a closing
paren but no opening paren. To run a comma...