Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2013-01-11

Use the Get-ResourcePolicy cmdlet to retrieve and view properties of resource policies that match the specified resource type if any.

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

Syntax

Get-ResourcePolicy [-Identity <ResourcePolicyIdParameter>] [-DomainController <Fqdn>] [-Resource <None | MdbLatency | Processor | MdbReplication | CiAgeOfLastNotification | CiRetryQueueSize | MdbAvailability | Remote>]

Examples

EXAMPLE 1

This example retrieves the details for all resource policies.

Copy Code
Get-ResourcePolicy | Format-List

EXAMPLE 2

This example retrieves the properties of the default MailboxDatabaseRpcLatency resource policy.

Copy Code
Get-ResourcePolicy -Resource MailboxDatabaseRpcLatency

Detailed Description

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

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.ResourcePolicyIdParameter

The Identity parameter specifies the name of the resource policy to retrieve.

Resource

Optional

Microsoft.Exchange.WorkloadManagement.ResourceMetricType

The Resource parameter specifies the name of the resource to retrieve.

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.