Edit

Share via


Save-SbecLogSession

Flushes the buffers in a log session to disk.

Syntax

Object

Save-SbecLogSession
    -Session <TraceSessionInfo[]>
    [<CommonParameters>]

Name

Save-SbecLogSession
    -Name <String[]>
    [<CommonParameters>]

Description

The Save-SbecLogSession cmdlet flushes the buffers in a log session to disk. The session may be identified either by name or as an object.

Parameters

-Name

Specifies an array of session names.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Name
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Session

Specifies an array of SbecEtwTrace.TraceSessionInfo objects.

Parameter properties

Type:

TraceSessionInfo[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Object
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

SbecEtwTrace.TraceSessionInfo

This cmdlet accepts SbecEtwTrace.TraceSessionInfo objects as the sessions to flush the buffers on.

Outputs

None.