CmdID / PowerShell / Cmdlets / Stop
Stop-Trace
Stop an Event Trace logging session. PowerShell reference
From the PowerShell reference 2 parameters
What it does
Stop an Event Trace logging session. This cmdlet stops a Windows Event Trace logging session. This cmdlet is used by the following cmdlets: - Disable-PSWSManCombinedTrace - Disable-WSManTrace You must run this cmdlet from an elevated PowerShell session.
Stop-Trace [-SessionName] <Object> [-ETS] [<CommonParameters>]
Stop a WSMan Trace logging session
Stop-Trace -SessionName 'wsmlog'IdentifyIts page in the reference: Stop-Trace.
Parameters
-ETSSend commands to Event Trace Sessions directly without saving or scheduling.-SessionNameThe name of the Event Trace session to be stopped.