Name

Set-JobSchedulerOption

SYNOPSIS

Set options for the JobScheduler CLI.

SYNTAX

Set-JobSchedulerOption [[-DebugMaxOutputSize] <Int32>] [[-WebRequestTimeout] <Int32>] [<CommonParameters>]

PARAMETERS

DebugMaxOutputSize

-DebugMaxOutputSize <Int32>
When using $DebugPreference settings then the JobScheduler CLI provides the
XML documents of JobScheduler responses for inspection. Such responses are written to the
console window if their size does not exceed the max. output size.

Should the max. output size be exceeded then XML responses are written to temporary
files and a console debug message indicates the location of the respective file.

This cmdlet allows to set the max. output size to an individual value.

Default: 1000 Byte

Required?false
Position?1
Default value1000
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

WebRequestTimeout

-WebRequestTimeout <Int32>
Specifies the number of milliseconds for establishing a connection to the JobScheduler Master.
With the timeout being exceeded an exception is raised.

Default: 15000 ms

Required?false
Position?2
Default value15000
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

about_jobscheduler

  • No labels