Skip to content

Instantly share code, notes, and snippets.

@sanusatyadarshi
Forked from dongri/uninstall-netskope.sh
Created November 17, 2022 15:30
Show Gist options
  • Select an option

  • Save sanusatyadarshi/edd4b8ff204e4644d9fff49cf189e24e to your computer and use it in GitHub Desktop.

Select an option

Save sanusatyadarshi/edd4b8ff204e4644d9fff49cf189e24e to your computer and use it in GitHub Desktop.
uninstall netskope
#!/bin/sh
sudo ps aux | grep Netskope | grep -v grep | awk '{ print "kill -9", $2 }' | sudo sh
echo '[✓] Kill Netskope Process'
sudo rm -rf /Applications/Remove\ Netskope\ Client.app
echo '[✓] Removed Remove Netskope Client.app'
sudo rm -rf /Library/Application\ Support/Netskope
echo '[✓] Removed Agent of Netskope Client.app'
echo 'Successfully uninstalled.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment