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.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment