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
tell application "Microsoft Outlook" | |
set theSelection to the selection | |
repeat with anItem in theSelection | |
delete anItem | |
end repeat | |
end tell |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.318.ipfwadditions</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>ipfw</string> | |
<string>add</string> |
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
tell application "Finder" to open file "Accounts.prefpane" of (path to system preferences) | |
tell application "System Events" | |
tell application process "System Preferences" | |
delay 1 | |
click button "Change Password…" of tab group 1 of window "Users & Groups" | |
end tell | |
end tell |
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 | |
# get current active console user | |
shortName=$( /usr/bin/logname ) | |
# AppleScript command to set domain for console user in Outlook | |
command1="tell application \"Microsoft Outlook\" to set domain of Exchange account 1 to \"domainname\"" | |
# AppleScript command to set user for console user in Outlook | |
command2="tell application \"Microsoft Outlook\" to set user name of Exchange account 1 to \"$shortName\"" |
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 | |
# -v = verbose | |
# -r = From address | |
# -c = Cc, 'someone@example.com,somebody@example.com' | |
# -b = Bcc, 'someone@example.com,somebody@example.com' | |
# -s = Subject | |
# -S = variable key=value | |
echo "This is the message body and contains the message" | mailx -v -r talkingmoose@hotmail.com -c "bill.smith@jamf.com" -s "This is the subject" -S smtp="smtp-mail.outlook.com:587" -S smtp-use-starttls -S smtp-auth=login -S smtp-auth-user="talkingmoose@hotmail.com" -S smtp-auth-password="P@55w0rd" -S nss-config-dir=/etc/pki/nssdb/ -S HOME=/tmp -S ssl-verify=ignore bill@talkingmoose.net |
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 | |
sudo rm /var/db/.AppleSetupDone | |
sudo rm -rf /var/db/ConfigurationProfiles/ | |
sudo rm /Library/Keychains/apsd.keychain | |
sudo jamf removeFramework | |
sudo reboot | |
exit 0 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AlwaysShowFavoritesBarInFullScreen</key> | |
<false/> | |
<key>HomePage</key> | |
<string>http://ahschools.us</string> | |
<key>NewTabBehavior</key> | |
<integer>0</integer> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DefaultBrowserSettingEnabled</key> | |
<false/> | |
<key>DefaultPopupsSetting</key> | |
<integer>1</integer> | |
<key>DeviceAutoUpdateDisabled</key> | |
<true/> |
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 | |
# use parameters passed to the script | |
# if no parameters are passed, use default settings | |
if [ "$4" = "" ] ; then | |
ardField="3" | |
else | |
ardField="$4" | |
fi |