Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-08-24

The Get-ActiveSyncMailboxPolicy cmdlet is used to retrieve the policy settings for a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Syntax

get-ActiveSyncMailboxPolicy [-Identity <MailboxPolicyIdParameter>] [-DomainController <Fqdn>]

Parameters

Parameter Required Type Description

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

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

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.MailboxPolicyIdParameter

This parameter specifies the policy name.

Detailed Description

An Exchange ActiveSync mailbox policy is a group of settings that specifies how mobile devices that are enabled for Exchange ActiveSync connect to the computer that is running Exchange 2007. Exchange 2007 supports multiple Exchange ActiveSync mailbox policies. The Get-ActiveSyncMailboxPolicy cmdlet displays all the policy settings for the specified server. These settings include password settings, file access settings, and attachment settings.

To run the Get-ActiveSyncMailboxPolicy cmdlet, the account you use must be delegated the Exchange View-Only Administrator role.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

The following code is an example of the Get-ActiveSyncMaiboxPolicy cmdlet. This code example returns the policy settings for the Exchange ActiveSync mailbox policy named SalesPolicy.

Copy Code
Get-ActiveSyncMailboxPolicy -Identity "SalesPolicy"