Skip to content

Instantly share code, notes, and snippets.

Avatar

William Smith talkingmoose

View GitHub Profile
@talkingmoose
talkingmoose / PopulateMobileDeviceAssetTags.sh
Last active Aug 29, 2015
Find all JSS mobile devices without asset tags and populate the Asset Tag field from a list
View PopulateMobileDeviceAssetTags.sh
#!/bin/bash
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# Written by: William Smith
#
# Last updated: April 21, 2015
#
# Purpose: Searches a Casper JSS for mobile device assets
# with empty Asset Tag fields and populates those fields from lists
@talkingmoose
talkingmoose / GetAssetTagViaSerialNumber.sh
Last active Aug 29, 2015
Retrieve JSS asset tags for list of serial numbers
View GetAssetTagViaSerialNumber.sh
#!/bin/bash
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# Written by: William Smith
#
# Last updated: May 7, 2015
#
# Purpose: Retrieves list of asset tags from list of iOS serial numbers.
# Serial numbers should be in a serialnumbers.txt file in the same
View com.microsoft.Excel.plist
<?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>kSubUIAppCompletedFirstRunSetup1507</key>
<true/>
</dict>
</plist>
View com.microsoft.Powerpoint.plist
<?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>kSubUIAppCompletedFirstRunSetup1507</key>
<true/>
</dict>
</plist>
View com.microsoft.Word.plist
<?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>kSubUIAppCompletedFirstRunSetup1507</key>
<true/>
</dict>
</plist>
View com.microsoft.autoupdate2.plist
<?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>HowToCheck</key>
<string>Manual</string>
<key>LastUpdate</key>
<date>2015-08-09T01:04:03Z</date>
</dict>
</plist>
View com.microsoft.Outlook.plist
<?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>kSubUIAppCompletedFirstRunSetup1507</key>
<true/>
</dict>
</plist>
@talkingmoose
talkingmoose / Add contact birthdays to calendars.scpt
Created Sep 11, 2011
Add Outlook for Mac contact birthdays to calendar
View Add contact birthdays to calendars.scpt
tell application "Microsoft Outlook"
set contactList to every contact
set theYear to text returned of (display dialog "Enter the calendar year for new birthday reminders." default answer year of (current date) with title "Which year?" with icon 1)
if theYear as integer 1904 or theYear as integer 2039 then
display dialog "You must specify a year between 1904 and 2039." with icon stop with title "Error!" buttons {"Cancel"}
end if
repeat with aContact in contactList
@talkingmoose
talkingmoose / dittoPayloadToUsers.sh
Created Feb 20, 2012
Shell script to ditto Apple package payload to user home folders and user template
View dittoPayloadToUsers.sh
#!/bin/sh
## postflight
copyPayloadToAllUsers() {
# Enter a path to a logfile.
LOGFILE="/path/to/file.log"
# Copy the payload file(s) to all existing user folders.
@talkingmoose
talkingmoose / CommunicatorSetup-1.0.sh
Created Mar 7, 2012
Shell script to configure Microsoft Communicator user name and email address
View CommunicatorSetup-1.0.sh
#!/bin/sh
########################### About this script ##########################
# #
# Purpose: Populates user name and email address settings #
# for Communicator 2011 for Mac. This script resides #
# in /Library/talkingmoose/Scripts and is launched #
# by launch agent net.talkingmoose.CommunicatorSetup.plist. #
# #
# Created by William Smith #
You can’t perform that action at this time.