SchTasks

SCHTASKS /parameter [arguments] 

Description:
    Enables an administrator to create, delete, query, change, run and
    end scheduled tasks on a local or remote system. 

Parameter List:
    /Create         Creates a new scheduled task.

    /Delete         Deletes the scheduled task(s).

    /Query          Displays all scheduled tasks.

    /Change         Changes the properties of scheduled task.

    /Run            Runs the scheduled task on demand.

    /End            Stops the currently running scheduled task.

    /ShowSid        Shows security identifier corresponding to a scheduled task name.

    /?              Displays this help message.

Examples:
    SCHTASKS 
    SCHTASKS /?
    SCHTASKS /Run /?
    SCHTASKS /End /?
    SCHTASKS /Create /?
    SCHTASKS /Delete /?
    SCHTASKS /Query  /?
    SCHTASKS /Change /?
    SCHTASKS /ShowSid /?

C:\Users\Steven Carroll>schtasks /query /?

SCHTASKS /Query [/S system [/U username [/P [password]]]]
         [/FO format | /XML [xml_type]] [/NH] [/V] [/TN taskname] [/?]

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 schtasks.exe should execute.

    /P    [password]     Specifies the password for the given
                         user context. Prompts for input if omitted.

    /FO   format         Specifies the format for the output.
                         Valid values: TABLE, LIST, CSV.

    /NH                  Specifies that the column header should not
                         be displayed in the output. This is
                         valid only for TABLE format.

    /V                   Displays verbose task output.

    /TN   taskname       Specifies the task name for which to
                         retrieve the information, else all of them.

    /XML  [xml_type]     Displays task definitions in XML format.

                         If xml_type is ONE then the output will be one valid XM
L file.

                         If xml_type is not present then the output will be

                         the concatenation of all XML task definitions.

    /?                   Displays this help message.

Examples:
    SCHTASKS /Query
    SCHTASKS /Query /Tn ScheduledDefrag
    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

C:\Users\Steven Carroll>