Name

Send-JobSchedulerCommand

SYNOPSIS

Sends an XMl command to the JobScheduler Master.

SYNTAX

Send-JobSchedulerCommand [-Command] <String> [[-Headers] <Hashtable>] [<CommonParameters>]

DESCRIPTION

JobScheduler Master supports a number of XML commands.
This cmdlet accepts XML commands and forwards them to the JobScheduler Master.

PARAMETERS

Command

-Command <String>
Specifies the XML command to be executed, e.g. <show_state/>

Required?true
Position?1
Default value
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

Headers

-Headers <Hashtable>
A hashmap can be specified with name/value pairs for HTTP headers.

Required?false
Position?2
Default value@{}
Accept pipeline input?true (ByValue, ByPropertyName)
Accept wildcard characters?false

about_jobscheduler

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

$stateXml = Send-JobSchedulerCommand '<show_state/> '

Returns summary information and inventory of jobs and job chains.

-------------------------- EXAMPLE 2 --------------------------

$stateXml = Send-JobSchedulerCommand '<show_state/> ' @{'Cache-Control'='no-cache'}

Returns summary information including the inventory while using individual HTTP headers.

  • No labels