This repository is a resource that allows us to distribute scripts across multiple MDM tenants with a single point of hosting.
Scripts in this repository are designed to be run from MDM Self Service or from TeamViewer Scripts.
This script is designed to stop Spotlight indexing, clear the indexing cache at the root level and then restart indexing.
sudo curl -o /tmp/fix-spot-index.sh https://raw.githubusercontent.com/PurpleComputing/troubleshooting/main/fix-spot-index.sh && sudo chmod +x /tmp/fix-spot-index.sh && sudo /tmp/fix-spot-index.sh
This script is designed to add everyone to the lpadmin group to prevent admin pop up when user trying to print.
sudo curl -o /tmp/fix-printer-lpadmin.sh https://raw.githubusercontent.com/PurpleComputing/troubleshooting/main/fix-printer-lpadmin.sh && sudo chmod +x /tmp/fix-printer-lpadmin.sh && sudo /tmp/fix-printer-lpadmin.sh
This script is designed to remove the 1Password 7 application, line 44 can be uncommented to reinstalled using the relevant JAMF Policy ID.
`sudo curl -o /tmp/remove-1password.sh https://raw.githubusercontent.com/PurpleComputing/troubleshooting/main/remove-1password.sh && sudo chmod +x /tmp/remove-1password.sh && sudo /tmp/remove-1password.sh
This script is designed to checks if OneDrive is running and if it isn't launches the application. Designed to be run on Device Check-in to ensure the CloudStorage is mounted.
`sudo curl -o /tmp/onedrive-check-launch.sh https://raw.githubusercontent.com/PurpleComputing/troubleshooting/main/onedrive-check-launch.sh && sudo chmod +x /tmp/onedrive-check-launch.sh && sudo /tmp/onedrive-check-launch.sh