Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2012-09-18

Use the New-WorkloadPolicy cmdlet to create a workload policy.

To review a list of workloads for which you can configure policies, see Workload Management Reference.

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

Syntax

New-WorkloadPolicy -Name <String> -WorkloadClassification <Unknown | Discretionary | InternalMaintenance | CustomerExpectation | Urgent> -WorkloadManagementPolicy <WorkloadManagementPolicyIdParameter> -WorkloadType <Unknown | MailboxReplicationService | ELCAssistant | JunkEmailOptionsCommitterAssistant | CalendarRepairAssistant | SharingPolicyAssistant | TopNAssistant | CalendarSyncAssistant | UMReportingAssistant | InferenceTrainingAssistant | StoreMaintenanceAssistant | PublicFolderAssistant | DirectoryProcessorAssistant | PowerShell | PowerShellForwardSync | PowerShellBackSync | PowerShellGalSync | PowerShellLowPriorityWorkFlow | PowerShellDiscretionaryWorkFlow | OABGeneratorAssistant | Ews | Eas | Domt | Owa | TeamMailboxSync | Pop | Imap | Momt | Transport | TransportSync | OwaVoice | OrgContactsSyncAssistant | PublicFolderMailboxSync | InferenceDataCollectionAssistant | PeopleRelevanceAssistant | SiteMailboxAssistant | PushNotificationService | MailboxReplicationServiceHighPriority> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

Examples

EXAMPLE 1

This example creates the workload policy DublinImapWorkloadPolicy to support the higher IMAP connectivity requirements for the Dublin, Ireland location for the company Contoso.com. With the default IMAP workload policy, the IMAP workload is assigned the classification InternalMaintenance. Increasing the priority of the IMAP workload to the CustomerExpectation classification for the Dublin, Ireland location will allow the IMAP workload to use more server resources than if it remained at its default classification.

Copy Code
New-WorkloadPolicy -Name DublinImapWorkloadPolicy -WorkloadClassification CustomerExpectation -WorkloadManagementPolicy DublinWorkloadManagementPolicy -WorkloadType Imap -DomainController Dublin02.Contoso.com

Detailed Description

By default, Exchange controls the resources consumed by Exchange workloads using a default workload policy for each workload. You can use the New-WorkloadPolicy cmdlet to create a custom workload policy to change the way that Exchange controls the resources consumed by Exchange workloads. When you create a workload policy, you must specify a name for the workload policy, the type of workload, the priority of the workload (that's designated by its classification), and the workload management policy to which you want it associated.

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

Name

Required

System.String

The Name parameter specifies the name for the workload management policy to create.

WorkloadClassification

Required

Microsoft.Exchange.WorkloadManagement.WorkloadClassification

The WorkloadClassification parameter specifies the workload being defined. You must specify one of the following classes: Discretionary, CustomerExpectation, InternalMaintenance, and Urgent.

WorkloadManagementPolicy

Required

Microsoft.Exchange.Configuration.Tasks.WorkloadManagementPolicyIdParameter

The WorkloadManagementPolicy parameter specifies the name of the workload management policy to which the workload policy is associated.

WorkloadType

Required

Microsoft.Exchange.WorkloadManagement.WorkloadType

The WorkloadType parameter specifies the workload being retrieved. For a list of Exchange workload values, see the Syntax section of this topic. For detailed information about each Exchange workload, see Workload Management Reference.

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.

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.

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.