Get-ActiveSyncMailboxPolicy (RTM)

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007

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>]

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 following:

  • 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.

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.

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.

Get-ActiveSyncMailboxPolicy -Identity "SalesPolicy"