CmdID / PowerShell / Cmdlets / Enable
Enable-WSManTrace
Start a logging session with the WSMan providers enabled. PowerShell reference
From the PowerShell reference
What it does
Start a logging session with the WSMan providers enabled. This cmdlet starts a logging session with the WSMan providers enabled. The following event providers are enabled: - Event Forwarding - IpmiDrv - IPMIPrv - WinRM - WinrsCmd - WinrsExe - WinrsMgr - WSManProvHost The session is named wsmlog. This cmdlet uses the Start-Trace cmdlet. You must run this cmdlet from an elevated PowerShell session.
Enable-WSManTrace [<CommonParameters>]
Start a WSMan logging session
Enable-WSManTraceIdentifyIts page in the reference: Enable-WSManTrace.