Query Scheduled Tasks using VBScript

01/22/09

Permalink 02:35:38 pm, by dave Email , 588 words, 960 views   English (US)
Categories: Windows Scripting, Wsh Scripts

Query Scheduled Tasks using VBScript

For anyone who ever tried to query the scheduled tasks on a Windows machine using windows script host (e.g. vbscript) and received unexpected results or missing tasks, that is because there are two ways to work with scheduled tasks. One way uses the NetSchedule API set and the second uses the Task Scheduler COM interface. There is a scriptable interface for the NetSchedule API set, we know it as WMI.

Pages: 1 2 3



Did you like this post? If so, Share it!  del.icio.us digg reddit slashdot this article Facebook Twitter MySpace Email



Pingbacks:

No Pingbacks for this post yet...

This post has 2 feedbacks awaiting moderation...

Scripts

This is somewhere I can post interesting snippets as I come across them. Hopefully some folks out there will find this helpful.

Search

Follow Me:

Misc

Who's Online?

  • Guest Users: 2

powered by b2evolution free blog software