Script to remove an application in macSolved

Participant
Discussion
3 years ago

Hey, is it possible to remove certain applications using scripts?

Replies (5)

Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

You certainly can. You can use the custom scripts Action from inside the Manage tab.

Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

Okay. But can someone like provide a script so that I can use it to run it on the device?

Marked SolutionPending Review
Hexnode Expert
3 years ago
Marked SolutionPending Review

Hey Aaron,

Thank you for reaching out to us!

You can run any custom script on your Mac using Hexnode’s Custom Scripts feature. Here’s the script to uninstall applications on your macOS devices. You can also check out our Sample Script Repository which contains sample scripts for both Windows and macOS devices.

Hope this clears your query.

Cheers!
Chris Coleman
Hexnode UEM

Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

Thanks Chris. The repository has given me a lot of useful scripts.

Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

Hi…..Applications in macOS are for the most part independent and dwell in/Applications envelope. There are exemptions for this and those sort of applications have a uninstaller script that you can run. There are inclination records, for the application, that can live in the ~/Library/Application Support and ~/Library/Preferences organizers.