I'm looking to create a script to uninstall TeamViewer as part of user initiated enrollment into JAMF Pro.
I found this discussion here: https://www.jamf.com/jamf-nation/discussions/22216/uninstall-teamviewer-via-script-or-terminal
I have limited scripting knowledge, so I took the script from that discussion, and made some small tweaks.
The script works as designed, but deleting the security agent plugin crashes the OS on reboot and requires a format/reload. I'm curious if anybody has any insight into what's going on there.