This file contains 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
#!/bin/bash | |
### | |
# | |
# Name: bash_version.sh | |
# Description: Casper extension attribute that returns the installed | |
# version of /bin/bash. | |
# Author: Elliot Jordan <[email protected]> | |
# Created: 2014-09-25 | |
# Last Modified: 2014-09-25 |
This file contains 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
#!/bin/bash | |
### | |
# | |
# Name: iworm_check.sh | |
# Description: Casper extension attribute that checks whether iWorm is | |
# detected. | |
# Author: Elliot Jordan <[email protected]> | |
# Created: 2014-10-03 | |
# Last Modified: 2014-10-03 |
This file contains 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
#!/bin/sh | |
### | |
# | |
# Name: git_version.sh | |
# Description: Casper extension attribute that displays the version of Git. | |
# Excludes /usr/bin/git in order to prevent Xcode install prompt. | |
# Author: Elliot Jordan <[email protected]> | |
# Created: 2014-12-19 | |
# Last Modified: 2014-12-22 |
This file contains 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
#!/bin/bash | |
# This function will echo text centered horizontally within the shell window. | |
echo_centered () { | |
# The character to be used as left/right filler. | |
if [[ -n "$2" ]]; then | |
FILLER="$2" | |
else | |
FILLER="=" |
This file contains 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
/usr/bin/python /usr/local/bin/autopkg run --recipe-list ~/Library/Application\ Support/AutoPkgr/recipe_list.txt --report-plist /tmp/autopkg-test.xml |
This file contains 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
#!/bin/bash | |
### | |
# | |
# Name: ip_addresses.sh | |
# Description: A Casper extension attribute that displays the active IP | |
# addresses of the Mac. | |
# Author: Elliot Jordan <[email protected]> | |
# Created: 2014-06-04 | |
# Last Modified: 2015-03-18 |
This file contains 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
JAMF Helper Help Page | |
Usage: jamfHelper -windowType [-windowPostion] [-title] [-heading] [-description] [-icon] [-button1] [-button2] [-defaultButton] [-cancelButton] [-showDelayOptions] [-alignDescription] [-alignHeading] [-alignCountdown] [-timeout] [-countdown] [-iconSize] [-lockHUD] [-startLaunchd] [-fullScreenIcon] [-kill] | |
-windowType [hud | utility | fs] | |
hud: creates an Apple "Heads Up Display" style window | |
utility: creates an Apple "Utility" style window | |
fs: creates a full screen window the restricts all user input | |
WARNING: Remote access must be used to unlock machines in this mode |
This file contains 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
#!/bin/bash | |
### | |
# | |
# Name: shard.sh | |
# Description: This Casper extension attribute takes a Mac serial | |
# number as input and uses that serial number to output a | |
# number from 0 to 9. This can be useful in scoping Casper | |
# policies to a specific percentage of the fleet. | |
# Author: Elliot Jordan <[email protected]> |
This file contains 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
#!/bin/bash | |
RECIPIENT="+14155551212" | |
MESSAGE="Hello world" | |
cat << EOF > /tmp/send_imessage.scpt | |
tell application "Messages" | |
set serviceID to get id of first service | |
set theRecipient to buddy "${RECIPIENT}" of service id serviceID | |
send "${MESSAGE}" to theRecipient |
This file contains 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
/usr/bin/python /usr/local/bin/autopkg run --recipe-list ~/Library/Application\ Support/AutoPkgr/recipe_list.txt --report-plist /tmp/autopkg-output.xml |
OlderNewer