CmdID / PowerShell / Cmdlets / Disable
Disable-AppBackgroundTaskDiagnosticLog
Disables background task logging in Event Viewer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.