Jamf customers: We are here for you. https://www.jamf.com/lp/remote-empowerment/
"How to Support a Remote Workforce" Jamf Nation Discussion https://www.jamf.com/jamf-nation/discussions/35323/
Jamf customers: We are here for you. https://www.jamf.com/lp/remote-empowerment/
"How to Support a Remote Workforce" Jamf Nation Discussion https://www.jamf.com/jamf-nation/discussions/35323/
#!/bin/zsh | |
# provide for Big Sur and earlier | |
xpath() { | |
# the xpath tool changes in Big Sur | |
if [[ $( /usr/bin/sw_vers -buildVersion) > "20A" ]]; then | |
/usr/bin/xpath -e "$@" | |
else | |
/usr/bin/xpath "$@" | |
fi |
#!/bin/zsh | |
:<<'ABOUT_THIS_SCRIPT' | |
----------------------------------------------------------------------- | |
Written by:William Smith | |
Professional Services Engineer | |
Jamf | |
[email protected] | |
https://gist.github.com/talkingmoose/5336e69480d87014a4c2ea1d6ec0ea4e |
#!/bin/bash | |
# server connection information | |
URL="https://talkingmoose.jamfcloud.com" | |
userName="API-Editor" | |
password="P@55w0rd" | |
httpErrorCodes="200 Request successful | |
201 Request to create or update object successful | |
400 Bad request |
#!/bin/bash | |
function logresult() { | |
if [ $? = "0" ] ; then | |
echo "$1" | |
else | |
echo "$2" | |
exit 1 | |
fi | |
} |
#!/bin/bash | |
# server connection information | |
URL="https://talkingmoose.jamfcloud.com" | |
userName="API-Editor" | |
password="P@55w0rd" | |
httpErrorCodes="200 Request successful | |
201 Request to create or update object successful | |
400 Bad request |
#!/bin/bash | |
# server connection information | |
URL="https://talkingmoose.jamfcloud.com" | |
userName="API-Editor" | |
password="P@55w04d" | |
# number of days from now that the extension attribute can be safely deleted because of non-use | |
deleteInDays="30" |
tell application "Messages" | |
-- phone numbers must already exist in Contacts | |
set phoneNumbers to {"6125550000 John Smith", ¬ | |
"6125551111 Mary Poppins", ¬ | |
"6125552222 Larry Bud Melmon"} | |
-- https://stackoverflow.com/questions/11812184/how-to-send-an-imessage-text-with-applescript-only-in-provided-service | |
repeat with aNumber in phoneNumbers | |
set targetService to (1st service whose service type = iMessage) |
#!/bin/zsh | |
:<<ABOUT_THIS_SCRIPT | |
------------------------------------------------------------------------------- | |
Written by:William Smith | |
Professional Services Engineer | |
Jamf | |
[email protected] | |
https://gist.github.com/84cbe002aca35c73032bccd230d8988a |
#!/bin/zsh | |
# adds the additional input source to the list of input sources | |
/usr/bin/defaults write com.apple.HIToolbox AppleEnabledInputSources -array-add '<dict><key>InputSourceKind</key><string>Keyboard Layout</string><key>KeyboardLayout ID</key><integer>89</integer><key>KeyboardLayout Name</key><string>Latin American</string></dict>' | |
# enables the input menu in the menu bar | |
/usr/bin/defaults write com.apple.TextInputMenu visible -bool true | |
exit 0 |