Genpact Cora Knowledge Center

Support

PowerShell Function: Enable-CoraSeQuenceJobsLogs

V9.6

Method

CoraSeQuence.sites

Description

Enables jobs logs (svclog) on all instances of installed Cora SeQuence JES and Administration.

Syntax

Enable-CoraSeQuenceJobsLogs [-TraceDirectory] <String> [[-ServiceID] <Int32>] [<CommonParameters>]

Parameters

-TraceDirectory <String>

Full path to the directory where logs should be stored. If the directory does not exist, it will be created.

Required?                    true
Position?                    1
Default value          
Accept pipeline input?      false
Accept wildcard characters?  false


-ServiceID <Int32>

Sets the numeric ID of the JES service instance. If not provided, the configuration is applied to all JES instances deployed on the server.

Required?                    false
Position?                    2
Default value          0
Accept pipeline input?      false
Accept wildcard characters?  false


<CommonParameters>

This function supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. 

For more information, see about_CommonParameters

Example

PS C:\>Enable-CoraSeQuenceJobsLogs -TraceDirectory "C:\CoraSeQuenceJobsLogs"


V9.5

Method

CoraSeQuence.sites

Description

Enables jobs logs (svclog) on all instances of installed Cora SeQuence JES and Administration.

Syntax

Enable-CoraSeQuenceJobsLogs [-TraceDirectory] <String> [<CommonParameters>]

Parameters

-TraceDirectory <String>

Full path to the directory where logs should be stored. If the directory does not exist, it will be created.

Required?                    true
Position?                    1
Default value          
Accept pipeline input?      false
Accept wildcard characters?  false


<CommonParameters>

This function supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. 

For more information, see about_CommonParameters

Example

PS C:\>Enable-CoraSeQuenceJobsLogs -TraceDirectory "C:\CoraSeQuenceJobsLogs"