NAME
Enable-AppBackgroundTaskDiagnosticLog
SYNOPSIS
Enables background task logging in Event Viewer.SYNTAX
Enable-AppBackgroundTaskDiagnosticLog [-Confirm] [-WhatIf] [
] DESCRIPTION
The Enable-AppBackgroundTaskDiagnosticLog cmdlet enables background task logging in Event Viewer. You must have
administrator access to enable background task logging.PARAMETERS
-Confirm [
Prompts you for confirmation before running the cmdlet. 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. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false] This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/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=296781Disable-AppBackgroundTaskDiagnosticLog