selfish
8/27/2014 - 3:38 PM

Remove all windows scheduled tasks cotaining string 'stringToRemove'

Remove all windows scheduled tasks cotaining string 'stringToRemove'

FOR /f %%i in ('schtasks /query ^| FINDSTR stringToRemove') do schtasks /Delete /TN "%%i" /F