Enable-AppBackgroundTaskDiagnosticLog

Enable-AppBackgroundTaskDiagnosticLog is accessible with the help of AppBackgroundTask module. To configure AppBackgroundTask, go through this link.

Synopsis

Enables background task logging in Event Viewer.

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

Syntax

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

—————Example 1—————
Enable background task logging
PS C:> Enable-AppBackgroundTaskDiagnosticLog
This command turns on background task logging in Event Viewer.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Enable-AppBackgroundTaskDiagnosticLog

Get-Command Enable-AppBackgroundTaskDiagnosticLog powershell script command cmdlet

You can also read about

  • Disable-AppBackgroundTaskDiagnosticLog

To know more PowerShell cmdlets(Commands) on AppBackgroundTask click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *