Name

Set-JS7Option

SYNOPSIS

Set options for access to the JS7 REST Web Service

SYNTAX

Set-JS7Option [[-DebugMaxOutputSize] <Int32>] [[-WebRequestTimeout] <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]

PARAMETERS

DebugMaxOutputSize

-DebugMaxOutputSize <Int32>
When using $DebugPreference settings then the JS7 CLI provides the
XML documents of JS7 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 JS7 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_JS7

EXAMPLES

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

PS > Set-JS7Option -WebRequestTimeout 10

Modifies the timeout for web service requests to 10s.

  • No labels