Stop-Sbec Log Session

Stops a log session.

Syntax

Stop-SbecLogSession
    -Session <TraceSessionInfo[]>
    [<CommonParameters>]
Stop-SbecLogSession
    -Name <String[]>
    [<CommonParameters>]

Description

The Stop-SbecLogSession cmdlet stops a log session.

Required Parameters

-Name

Specifies the name of the log session to stop.

Type: String[]
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Session

Specifies the session objects to stop.

Type: TraceSessionInfo[]
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

Inputs

SbecEtwTrace.TraceSessionInfo

The SbecEtwTrace.TraceSessionInfo class is defined in $PsHome\Modules\BootEventCollector\SbecTraceHelpers.psm1.

Outputs

None.