CmdID

CmdID / PowerShell / Cmdlets / Disable

Disable-PSTrace

Disables the Microsoft-Windows-PowerShell event provider logs. 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

Disables the Microsoft-Windows-PowerShell event provider logs. This cmdlet disables the Operational and Analytic event logs of the Microsoft-Windows-PowerShell event provider. You must run this cmdlet from an elevated PowerShell session.

Disable-PSTrace [-AnalyticOnly] [<CommonParameters>]

Disable the Analytic event log for PowerShell

Disable-PSTrace -AnalyticOnlyIdentify

Its page in the reference: Disable-PSTrace.

Parameters

1 in the PowerShell reference
-AnalyticOnlyWhen this parameter is used, the cmdlet disables the Analytic event log of the Microsoft-Windows-PowerShell provider. The Operational event log is not changed.