Here is a simple shell script to uninstall NoMAD:
# /bin/bash
# Rui Qiu
# Remove NoMad and use direct AD Bind
loggedInUser=`/bin/ls -l /dev/console | /usr/bin/awk ‘{ print $3 }'`
pkill “NoMAD”
sudo rm -rf /Applications/NoMAD.app
sudo rm -rf “/Library/Managed Preferences/com.trusourcelabs.NoMAD.plist”
sudo rm -rf “/Library/Managed Preferences/$loggedInUser/com.trusourcelabs.NoMAD.plist”
sudo rm -rf “/Users/$loggedInUser/Library/LaunchAgents/com.trusourcelabs.NoMAD.plist”
And you can use this to search files after uninstallation just to verify it is gone:
mdfind -name "NoMAD"