Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2013-01-11

Use the Set-ResourcePolicy cmdlet to set the properties of a custom resource policy.

For information about the parameter sets in the Syntax section below, see Syntax.

Syntax

Set-ResourcePolicy -Identity <ResourcePolicyIdParameter> [-Confirm [<SwitchParameter>]] [-CustomerExpectationCriticalThreshold <Int32>] [-CustomerExpectationOverloadedThreshold <Int32>] [-CustomerExpectationUnderloadedThreshold <Int32>] [-DiscretionaryCriticalThreshold <Int32>] [-DiscretionaryOverloadedThreshold <Int32>] [-DiscretionaryUnderloadedThreshold <Int32>] [-DomainController <Fqdn>] [-InternalMaintenanceCriticalThreshold <Int32>] [-InternalMaintenanceOverloadedThreshold <Int32>] [-InternalMaintenanceUnderloadedThreshold <Int32>] [-UrgentCriticalThreshold <Int32>] [-UrgentOverloadedThreshold <Int32>] [-UrgentUnderloadedThreshold <Int32>] [-WhatIf [<SwitchParameter>]]

Examples

EXAMPLE 1

This example sets the local server CPU thresholds for the custom resource policy DublinLocalServerCpuUsageResourcePolicy. In this example, the thresholds for Discretionary workloads are lowered. By default, the threshold values are 70, 80, and 100 percent. The new lower values are 60, 70, and 90 percent.

Copy Code
Set-ResourcePolicy -Identity DublinLocalServerCpuUsageResourcePolicy -DiscretionaryUnderloadedThreshold 60 -DiscretionaryOverloadedThreshold 70 -DiscretionaryCriticalThreshold 90

Detailed Description

The Set-ResourcePolicy cmdlet sets the performance thresholds for a resource policy. If you don't set a value for a workload classification, the value remains at the default level. To review a list of default values for each resource and each classification, see Workload Management Reference.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Exchange workload throttling" entry in the Server Health and Performance Permissions topic.

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.ResourcePolicyIdParameter

The Identity parameter specifies the name for the resource policy to modify.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.

CustomerExpectationCriticalThreshold

Optional

System.Int32

The CustomerExpectationCriticalThreshold parameter specifies the critical threshold value for workloads assigned the Customer Expectation workload classification.When the resource health value is lower that this threshold, this value workload of Discretionary type is stopped.

CustomerExpectationOverloadedThreshold

Optional

System.Int32

The CustomerExpectationOverloadedThreshold parameter specifies the overloaded threshold value for workloads assigned the Customer Expectation workload classification.When the resource health value is lower that this threshold, this value workload of System Discretionary type is slowed.

CustomerExpectationUnderloadedThreshold

Optional

System.Int32

The CustomerExpectationUnderloadedThreshold parameter specifies the underloaded threshold value for workloads assigned the Customer Expectation workload classification.When the resource health value is lower that this threshold, this value workload of Discretionary type is sped up.

DiscretionaryCriticalThreshold

Optional

System.Int32

The DiscretionaryCriticalThreshold parameter specifies the critical threshold value for workloads assigned the Discretionary workload classification.When the resource health value is lower that this threshold, this value workload of Discretionary type is stopped.

DiscretionaryOverloadedThreshold

Optional

System.Int32

The DiscretionaryOverloadedThreshold parameter specifies the overloaded threshold value for workloads assigned the Discretionary workload classification.When the resource health value is lower that this threshold, this value workload of Discretionary type is slowed.

DiscretionaryUnderloadedThreshold

Optional

System.Int32

The DiscretionaryUnderloadedThreshold sets the underloaded threshold value for workloads assigned the Discretionary workload classification.When the resource health value is lower that this threshold, this value workload of Discretionary type is sped up.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

InternalMaintenanceCriticalThreshold

Optional

System.Int32

The InternalMaintenanceCriticalThreshold parameter specifies the critical threshold value for workloads assigned the Internal Maintenance workload classification.When the resource health value is lower that this threshold, this value workload is stopped.

InternalMaintenanceOverloadedThreshold

Optional

System.Int32

The InternalMaintenanceOverloadedThreshold parameter specifies the overloaded threshold value for workloads assigned the Internal Maintenance workload classification.When the resource health value is lower that this threshold, this value workload is slowed.

InternalMaintenanceUnderloadedThreshold

Optional

System.Int32

The InternalMaintenanceUnderloadedThreshold parameter specifies the underloaded threshold value for workloads assigned the Internal Maintenance workload classification. When the resource health value is lower that this threshold, this value workload of Discretionary type is sped up.

UrgentCriticalThreshold

Optional

System.Int32

The UrgentCriticalThreshold parameter specifies the critical threshold value for workloads assigned the Urgent workload classification. When the resource health value is lower that this threshold, this value workload of Discretionary type is stopped.

UrgentOverloadedThreshold

Optional

System.Int32

The UrgentOverloadedThreshold parameter specifies the overloaded threshold value for workloads assigned the Urgent workload classification. When the resource health value is lower that this threshold, this value workload of Discretionary type is slowed.

UrgentUnderloadedThreshold

Optional

System.Int32

The UrgentUnderloadedThreshold parameter specifies the underloaded threshold value for workloads that are assigned the Urgent workload classification. When the resource health value is lower that this threshold, this value workload of Discretionary type is sped up.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

Input Types

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

Return Types

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.