Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Disable-AppBackgroundTaskDiagnosticLog

Last Updated: 2/14/2017

SYNOPSIS

Disables background task logging in Event Viewer.

SYNTAX

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

DESCRIPTION

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

EXAMPLES

Example 1: Disable background task logging

PS C:\> Disable-AppBackgroundTaskDiagnosticLog

This command turns off background task logging in Event Viewer.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Enable-AppBackgroundTaskDiagnosticLog

© 2017 Microsoft