So we have a nice tool to looks at packages for scripts that might have deprecated languages in them (see https://github.com/scriptingosx/pkgcheck). Has anyone created something to look at the first line of all the scripts in the JSS and report ? I am guessing would have to use the JAMF API, to get <script_contents>, then match on the first line like in pkgcheck. Anyone working on this?
Solved
Search for python2 scripts in Jamf?
Best answer by Nick1403
found this yesterday: https://github.com/laurentpertois/Search-Scripts-In-Jamf
I haven't tested it yet but you can try it 😅
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.