Name

Set-JobSchedulerOption

SYNOPSIS

Set options for access to the JobScheduler REST Web Service.

SYNTAX

Set-JobSchedulerOption [[-DebugMaxOutputSize] <Int32>] [[-WebRequestTimeout] <Int32>] [-WhatIf] [-Confirm] [<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 seconds for establishing a connection to the JobScheduler REST Web Service.
With the timeout being exceeded an exception is raised.

Default: 15000 ms

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

WhatIf

-WhatIf <SwitchParameter>

Required?false
Position?named
Default value
Accept pipeline input?false
Accept wildcard characters?false

Confirm

-Confirm <SwitchParameter>

Required?false
Position?named
Default value
Accept pipeline input?false
Accept wildcard characters?false

about_JobScheduler

  • No labels