Skip to content

Instantly share code, notes, and snippets.

@smashism
Created January 17, 2018 20:00
Show Gist options
  • Save smashism/96326b984ead8014177cb95600b87b71 to your computer and use it in GitHub Desktop.
Save smashism/96326b984ead8014177cb95600b87b71 to your computer and use it in GitHub Desktop.
jamf helper prompt with title/subtitle/message
# run this in the "execute command" field of a policy in leu of the "complete" message if you want to add a title/subtitle
# can also be put in a bash/shell script
# use single-quotes if you use an exclamation point or other special characters, otherwise double-quotes are fine
/Library/Application\ Support/JAMF/bin/Management\ Action.app/Contents/MacOS/Management\ Action -title "Action Required: Do a thing" -subtitle "No really, this is required." -message 'Comply or get a Justin Bieber desktop background!'
@Phalconline
Copy link

Thank you!
I tried to use it, but in policy, it returns 256 Management Action[11299:271905] NSNotificationCenter connection invalid, same time locally under root works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment