Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilmartin83/76105fb6c413a4f36b086006138d0bcb to your computer and use it in GitHub Desktop.
Save neilmartin83/76105fb6c413a4f36b086006138d0bcb to your computer and use it in GitHub Desktop.
#!/bin/bash
/Applications/System\ Center\ Endpoint\ Protection.app/Contents/MacOS/scep_set --section fac --set='action_av = "scan"'
sleep 1
launchctl unload /Library/LaunchDaemons/com.microsoft.scep_daemon.plist
sleep 1
launchctl load /Library/LaunchDaemons/com.microsoft.scep_daemon.plist
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment