I want to list all user defined scheduled tasks.
This is to make user whether all the tasks are running
properly. We have 9 server,its very diffcult to check the
scheduled tasks. We want to write a program to fetch all
the tasks in different server. Can someone help here.
Earliest reply is highly appericated.
If you have a Windows XP domain member or Windows Server 2003 domain member or
DC:
SCHTASKS /Query [/S system [/U username [/P password]]] [/FO format]
[/NH] [/V] [/?]
Description:
Enables an administrator to display the scheduled tasks on the
local or remote system.
Parameter List:
/S system Specifies the remote system to connect to.
/U username Specifies the user context under
which the command should execute.
/P password Specifies the password for the given
user context.
/FO format Specifies the output format to be
displayed. Valid values: TABLE, LIST, CSV.
/NH Specifies that the column header should not
be displayed in the output.
Valid only for TABLE and CSV formats.
/V Specifies additional output to be
displayed.
/? Displays this help/usage.
If not, see tips 2621 and 4141 in the 'Tips & Tricks' at
http://www.jsiinc.com
See tip 5335.
Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com