Site icon TOSS

Disable-AppBackgroundTaskDiagnosticLog

powershell

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

Synopsis

Disables background task logging in Event Viewer.

Description

The Disable-AppBackgroundTaskDiagnosticLog cmdlet disables background task logging in Event Viewer. You must have administrator access to disable 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

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

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

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

Get-Command Disable-AppBackgroundTaskDiagnosticLog

You can also read about

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

Exit mobile version