Posted on 12-04-2024 12:14 PM
Hello Jamf family,
Is there a script that can uninstall apps like in Intune?
Thanks,
JM
Solved! Go to Solution.
Posted on 12-04-2024 12:30 PM
Jamf themselves do not make and scripts or tools to uninstall applications, but you can upload custom scripts and deploy them with policies simply enough. If the script is a one liner you can deploy it directly with a policy with the file and process payload.
Posted on 12-04-2024 12:30 PM
Jamf themselves do not make and scripts or tools to uninstall applications, but you can upload custom scripts and deploy them with policies simply enough. If the script is a one liner you can deploy it directly with a policy with the file and process payload.
Posted on 12-04-2024 12:35 PM
Thank you
Posted on 12-11-2024 10:04 AM
#!/bin/bash
# Uninstall Firefox
if [ -d "/Applications/Firefox.app" ]; then
echo "Firefox found. Removing..."
sudo rm -rf "/Applications/Firefox.app"
echo "Firefox has been removed."
else
echo "Firefox is not installed."
fi
Posted on 12-12-2024 03:21 AM