Disable-App
Background
Task
Diagnostic
Log
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.
Optional Parameters
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |