CmdID

CmdID / PowerShell / Cmdlets / Enable

Enable-PSWSManCombinedTrace

Start a logging session with the WSMan and PowerShell providers enabled. PowerShell reference

From the PowerShell reference 1 parameter

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Start a logging session with the WSMan and PowerShell providers enabled. This cmdlet starts a logging session with the following PowerShell providers enabled: - Microsoft-Windows-PowerShell - Microsoft-Windows-WinRM The session is named 'PSTrace'. This cmdlet uses the Start-Trace cmdlet. You must run this cmdlet from an elevated PowerShell session.

Enable-PSWSManCombinedTrace [-DoNotOverwriteExistingTrace] [<CommonParameters>]

Start a combined logging session

Enable-PSWSManCombinedTraceIdentify

Its page in the reference: Enable-PSWSManCombinedTrace.

Parameters

1 in the PowerShell reference
-DoNotOverwriteExistingTraceBy default, the events are written to $PSHOME\Traces\PSTrace.etl. When this parameter is used, the cmdlet creates a unique filename: $PSHOME\Traces\PSTrace_{guid}.etl