<?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>locked</key>
<true/>
<key>override-picture-path</key>
<string>/Library/Desktop Pictures/Tapiz.jpg</string>
</dict>
</plist>
#!/bin/zsh
if [ -e /Library/Desktop\ Pictures/Tapiz.jpg ]
then
echo "<result>True</result>"
else
echo "<result>False</result>"
fi
#!/bin/zsh
# Get Serial Number
serialNumber=$( /usr/sbin/system_profiler SPHardwareDataType |
/usr/bin/awk -F": " /"Serial Number"/'{ print $2 }' )
# Set name
jamf setComputerName -name "$serialNumber"
# Update inventory
jamf recon
exit 0
#!/bin/bash
# Set proxy to Off
networksetup -setwebproxystate "Wi-Fi" off
networksetup -setsecurewebproxystate "Wi-Fi" off
networksetup -setsocksfirewallproxystate "Wi-Fi" off
exit 0