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 | |
# | |
# adapted by github.com/smashism | |
# created 2015-03-12 | |
# last updated 2016-11-07 - change from cocoaDialog to jamfHelper | |
# uses jamfHelper to display computer information to user | |
# helpful for troubleshooting if user can't find info themselves | |
# | |
# offered AS IS with no warranty or guarantee |
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 | |
# adapted by github.com/smashism | |
# created 2015-03-12 | |
# updated 2016-11-07 - changed from cocoaDialog to jamfHelper | |
# lets user get browser versions for updating | |
# | |
# provided AS IS with no guarantee or warranty | |
# "You want the rest of the 'champaggin'?" "No… and it's pronounced 'cham-pain.'" |
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 | |
# Get current user and OS information. | |
CURRENT_USER=$(/usr/bin/stat -f%Su /dev/console) | |
USER_ID=$(id -u "$CURRENT_USER") | |
OS_MAJOR=$(/usr/bin/sw_vers -productVersion | awk -F . '{print $1}') | |
OS_MINOR=$(/usr/bin/sw_vers -productVersion | awk -F . '{print $2}') | |
# Launch the app using launchctl. | |
echo "Launching App Store..." |
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 | |
# | |
# software_update_count.sh | |
# gets amount of updates in integer for EA <> Smart Computer group | |
# github.com/smashism | |
# last update: 2016-10-18 | |
# | |
# get LastUpdatesAvailable |
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 | |
/usr/local/bin/jamf launchJAMFHelper -path '/Library/Application Support/JAMF/bin/jamfHelper.app' |
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 | |
# | |
# by emily k 2014-06-10 | |
# checks for omnigraffle 5 sn | |
# updated 2015-08-21 | |
#gets current user | |
currentUser=`ls -l /dev/console | cut -d " " -f 4` | |
#checks for app, then checks user library for license file |
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 | |
# | |
# originally by jhbush jamfnation and macadmins slack #jamfnation | |
# modified by emilyk | |
# 2015-08-20 | |
# | |
currentUser=`ls -l /dev/console | awk {' print $3 '}` | |
if [ -d "/Applications/OmniGraffle.app" ]; then | |
result=`cat /Users/$currentUser/Library/Containers/com.omnigroup.OmniGraffle6/Data/Library/Application\ Support/Omni\ Group/Software\ Licenses/OmniGraffle*.omnilicense | grep -A 1 Key | grep string | sed 's/<string>//g' | sed 's/<\/string>//g' | awk '{print $1}'` |
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 | |
# | |
# checks for github.app on machine | |
# using version integer rather than name | |
# intended for scoping updates (with patchoo) | |
# by github.com/smashism | |
# https://github.com/smashism/casper-extension-attributes/blob/master/get_github_version | |
# last updated 2015-03-20 | |
# |
NewerOlder