Copying files (scripts) locally off server for install
On a test machine: 1. Install the Jamf Pro Tools 2. Run this command in terminal mkdir -p /tmp/folderlocation 2. Drag the file.pkg and config.json files to /tmp/folderlocation 3. Open…
LDAP Extension Attribute
https://community.jamf.com/t5/jamf-pro/ldap-extension-attribute/td-p/138005
Use Safari to download macOS on your Mac
Use Safari to download macOS on your Mac https://support.apple.com/en-us/HT211683 macappstores://apps.apple.com/us/app/macos-big-sur/id1526878132?mt=12macappstores://apps.apple.com/us/app/macos-catalina/id1466841314?mt=12 macappstores://apps.apple.com/us/app/macos-mojave/id1398502828?mt=12
Bundle IDs and Team Identifiers
Finding Team ID and Bundle ID codesign -dv [PATH OF APPLICATION] Team ID, find the text starting with "TeamIdentifier=" Bundle ID, find the text starting with "Identifier=" Finding Code Requirement…
Determining Hardware Type: Laptops or Desktops
Determining Hardware Type: 1) Laptop (Macbook) 2) Desktop Script: #!/bin/sh HWModel="$(/usr/sbin/sysctl hw.model)" if [[ $HWModel =~ .*MacBook*. ]] then /usr/local/bin/jamf policy -trigger LaptopSetup else /usr/local/bin/jamf policy -trigger DesktopSetup fi exit…
stuck on Software Update(s)
Restart the softwareupdate daemon /bin/launchctl kickstart -k system/com.apple.softwareupdated sudo launchctl kickstart -k system/com.apple.softwareupdated https://macmule.com/2015/11/02/jss-setting-software-update-server-to-httpindex-sucatalog/ apple macos invalid catalogurl found: from preference setting -------- another script recommended on Slack #!/bin/zsh /bin/launchctl…
Smartcard Support
system_profiler SPSmartCardsDataType Smart card logging sudo defaults write /Library/Preferences/com.apple.security.smartcard Logging -bool true Links https://support.apple.com/guide/deployment/advanced-smart-card-options-dep7b2ede1e3/web https://gist.github.com/owalkenhorst/02d6d66215187016cb0e634a85055381 Slides http://macadmins.psu.edu/files/2017/07/psumac2017-120-macOS-and-Smart-Cards-2d0v717.pdf
Jamf DEPNotify Starter
quit - stop - kill or interrupt DEPNotify Command + Control + x is set to quit or interrupt DEPNotify https://github.com/jamf/DEPNotify-Starter
macOS Pre OS Migration Script
Script still in draft designed to collect bookmarks and other pertinent information pre- migration, the thought was to perform this pre-migration and then construct a reversal of sorts to migrate…