Last active
April 30, 2016 23:41
-
-
Save selfish/491bb9109c85707ff042 to your computer and use it in GitHub Desktop.
Remove all windows scheduled tasks cotaining string 'stringToRemove'
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
FOR /f %%i in ('schtasks /query ^| FINDSTR stringToRemove') do schtasks /Delete /TN "%%i" /F |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment