< Back
Disable-AppBackgroundTaskDiagnosticLog
Post
NAME Disable-AppBackgroundTaskDiagnosticLog
SYNOPSIS
Disables background task logging in Event Viewer.
SYNTAX
Disable-AppBackgroundTaskDiagnosticLog [-Confirm] [-WhatIf] [<CommonParameters>]
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.
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.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Disable background task logging
PS C:\\> Disable-AppBackgroundTaskDiagnosticLog
This command turns off background task logging in Event Viewer.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=296780
Enable-AppBackgroundTaskDiagnosticLog
SYNOPSIS
Disables background task logging in Event Viewer.
SYNTAX
Disable-AppBackgroundTaskDiagnosticLog [-Confirm] [-WhatIf] [<CommonParameters>]
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.
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.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Disable background task logging
PS C:\\> Disable-AppBackgroundTaskDiagnosticLog
This command turns off background task logging in Event Viewer.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=296780
Enable-AppBackgroundTaskDiagnosticLog