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).
@valcparra this script is designed to be used once for each app. Since recent versions of Jamf, it is possible to add a script multiple times to a policy, so it is easier to use that way.
@Valheron you don't need to change the script at all. Upload it to Jamf, then add it to a policy and use the following parameters:
TeamViewer
orTeamViewer.app
(both will work)com.teamviewer.teamviewer
.To find out the package receipt ID, 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.