Tuesday, April 28, 2009

Checking on your scheduled tasks!

From a Windows command prompt:

schtasks /query

This will give you output of the current machine.

schtasks /query /s \\servername >>\\server\sharename\tasks\server1_tasks.csv

This will send the output to a file named server1_tasks.csv on a network share and each subsequent run, will append to this file.

No comments: