Script to Uninstall Adobe Flash Player on Mac OSX
Answers (2)
For Windows:
This is what I'm using for our environment. You will need to download the uninstaller from the adobe website, then you create an Online Kscript like the picture below, include the .exe as a dependency.
It works like a charm, no user interaction is needed.
For macOS:
I use an Online ShellScript
#!/bin/sh
# Pull current logged in user into 'user' variable.
user=`ls -l /dev/console | cut -d " " -f 4`
#Uninstalling Flash Player now
sudo /Applications/Utilities/Adobe\ Flash\ Player\ Install\ Manager.app/Contents/MacOS/Adobe\ Flash\ Player\ Install\ Manager -uninstall
#Removes old installation logs if any
sudo rm -rf /Applications/Adobe/Flash\ Player