NAME
Set-AppBackgroundTaskResourcePolicy
SYNOPSIS
Configures the use of global pool by background tasks.SYNTAX
Set-AppBackgroundTaskResourcePolicy -Mode
[-Confirm] [-WhatIf] [ ] DESCRIPTION
The Set-AppBackgroundTaskResourcePolicy cmdlet configures the use of global pool by background tasks. Global pool
is a shared resource that provides CPU or network resources when an application needs additional resources to complete a task. You must have administrator access to set the background task resource policy.PARAMETERS
-Mode
Specifies the global pool settings for background tasks on the system. Acceptable values for this parameter are: Normal and Conservative. Use Normal to enable the global pool for all applications. Use Conservative to disable the global pool for all applications. Required? true Position? named Default value Accept pipeline input? false Accept wildcard characters? false-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: Set global resource policy to conservative mode
PS C:\> Set-AppBackgroundTaskResourcePolicy -Mode Conservative
This command sets the global resource policy for background tasks to Conservative, which ensures that background tasks use the minimum CPU.Example 2: Set global resource policy to normal mode
PS C:\>Set-AppBackgroundTaskResourcePolicy -Mode Normal
This command sets the global resource policy for background tasks to Normal. A restart is required if the previous setting was Conservative.RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=296779