Hello Jamf family,
Is there a script that can uninstall apps like in Intune?
Thanks,
JM
Hello Jamf family,
Is there a script that can uninstall apps like in Intune?
Thanks,
JM
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.
Thank you
#!/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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.