Upload this script to Jamf, then add it to a policy and use the following parameters:
- Parameter 4: App Name, e.g.
TeamViewer
orTeamViewer.app
(either will work) - Parameter 5: package receipt ID, if you want the script to remove the package receipt, e.g.
com.teamviewer.teamviewer
.
Parameters 6 to 11 can be used to forget additional packages if required.
To find out the package receipt IDs, install the application on a test device from Jamf, and then run pkgutil --pkgs | grep -i teamviewer
, substituting a name that is likely to be in the package receipt name.
Note, this script does not delete Jamf's own package receipts (I never use those, so never really considered using them).
Worked well! Thank you very much!