Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Set-AppBackgroundTaskResourcePolicy

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Set-AppBackgroundTaskResourcePolicy

Configures the use of global pool by background tasks.

Syntax

Parameter Set: Default
Set-AppBackgroundTaskResourcePolicy -Mode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed 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<String>

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.


Aliases

none

Required?

true

Position?

named

Default Value

none

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

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Set global resource policy to conservative mode

This command sets the global resource policy for background tasks to Conservative, which ensures that background tasks use the minimum CPU.


PS C:\> Set-AppBackgroundTaskResourcePolicy -Mode Conservative 

Example 2: Set global resource policy to normal mode

This command sets the global resource policy for background tasks to Normal. A restart is required if the previous setting was Conservative.


PS C:\> Set-AppBackgroundTaskResourcePolicy -Mode Normal 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.