Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete a Scheduled TaskContent of Delete a Scheduled Task.vbsMD5 Hash: 3B25574185DB767F136351CC3F56707D |
||
' Description: Deletes the scheduled task with the Job ID of 1.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objInstance = objWMIService.Get("Win32_ScheduledJob.JobID=1") err = objInstance.Delete | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |