Created
April 7, 2018 15:40
-
-
Save neilmartin83/76105fb6c413a4f36b086006138d0bcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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