Does the SCHTASKS.EXE do what you want?
perhaps with the /V switch
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.
Examples:
SCHTASKS /Query
SCHTASKS /Query /?
SCHTASKS /Query /S system /U user /P password
SCHTASKS /Query /FO LIST /V /S system /U user /P password
SCHTASKS /Query /FO TABLE /NH /V
> Subject: [ActiveDir] how to report on scheduled jobs?
> Date: Mon, 17 Apr 2006 14:31:25 -0500
> From: [EMAIL PROTECTED]
> To: ActiveDir@mail.activedir.org
>
> Is there a script to output scheduled job information? Maybe something
> I could call in a "for" loop driven by a list of servers. Ideally, I
> would like to see the job and who's credentials it is running under,
> with maybe the schedule.
>
> Mike Thommes
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/