Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Disable-AppBackgroundTaskDiagnosticLog

Disable-AppBackgroundTaskDiagnosticLog

microsoft.windows.appbackgroundtask.commands.dll

Synopsis

Disables background task logging in Event Viewer.

Syntax

Disable-AppBackgroundTaskDiagnosticLog [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Disable-AppBackgroundTaskDiagnosticLog cmdlet disables background task logging in Event Viewer. You must have administrator access to disable background task logging.

Parameters

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Disable background task logging

This command turns off background task logging in Event Viewer.

PS C:\> Disable-AppBackgroundTaskDiagnosticLog

Online Version
Enable-AppBackgroundTaskDiagnosticLog