I have a shell script that works fine when I execute it from the command line. (I tested it on 3 different Macs.)
But when I try and drag it into Casper Admin, I get
It's a very big script (a little over 6MB), but I've uploaded similar large scripts before.
I'm sure I could work around it (using composer to package it up, and a policy to copy it to the Mac and execute it), but I don't want to do all that extra work. (If I liked doing things manually, I wouldn't be using Jamf!)
I looked for, but could not find any documentation regarding a maximum script size.
I do know from previous experience that the jss web page chokes when I try and past in a script that large, so I really need to use casper admin.