< Back
Enable-AppBackgroundTaskDiagnosticLog
Post
NAME Enable-AppBackgroundTaskDiagnosticLog
SYNOPSIS
Enables background task logging in Event Viewer.
SYNTAX
Enable-AppBackgroundTaskDiagnosticLog [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Enable-AppBackgroundTaskDiagnosticLog cmdlet enables background task logging in Event Viewer. You must have administrator access to enable
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: Enable background task logging
PS C:\\> Enable-AppBackgroundTaskDiagnosticLog
This command turns on background task logging in Event Viewer.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=296781
Disable-AppBackgroundTaskDiagnosticLog
SYNOPSIS
Enables background task logging in Event Viewer.
SYNTAX
Enable-AppBackgroundTaskDiagnosticLog [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Enable-AppBackgroundTaskDiagnosticLog cmdlet enables background task logging in Event Viewer. You must have administrator access to enable
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: Enable background task logging
PS C:\\> Enable-AppBackgroundTaskDiagnosticLog
This command turns on background task logging in Event Viewer.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=296781
Disable-AppBackgroundTaskDiagnosticLog