Set-AppBackgroundTaskResourcePolicy is accessible with the help of AppBackgroundTask module. To configure AppBackgroundTask, go through this link.
Configures the use of global pool by background tasks.
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.
-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 <SwitchParameter> Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false -WhatIf <SwitchParameter> 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
Set-AppBackgroundTaskResourcePolicy -Mode <String> [-WhatIf] [-Confirm] [<CommonParameters>]
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.
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.
You can check the Version, CommandType and Source of this cmdlet by giving below command.