Created
January 17, 2018 20:00
-
-
Save smashism/96326b984ead8014177cb95600b87b71 to your computer and use it in GitHub Desktop.
jamf helper prompt with title/subtitle/message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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