![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete a Scheduled Task
|
||
' 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 :: |