Applies to: Exchange Server 2013

Topic Last Modified: 2012-07-06

Use the Get-ActiveSyncMailboxPolicy cmdlet to retrieve the Mobile Device mailbox policy settings for a specific Mobile Device mailbox policy.

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

Warning:
The Get-ActiveSyncMailboxPolicy cmdlet will be removed in a future version of Microsoft Exchange. Use the Get-MobileDeviceMailboxPolicy cmdlet instead. If you have any scripts that use the Get-ActiveSyncMailboxPolicy cmdlet, update them to use the Get-MobileDeviceMailboxPolicy cmdlet.

Syntax

Get-ActiveSyncMailboxPolicy [-Identity <MailboxPolicyIdParameter>] [-DomainController <Fqdn>] [-Organization <OrganizationIdParameter>]

Examples

EXAMPLE 1

This example returns the policy settings for the Mobile Device mailbox policy named SalesPolicy.

Copy Code
Get-ActiveSyncMailboxPolicy -Identity "SalesPolicy"

EXAMPLE 2

This example returns the policy settings for the Mobile Device mailbox policy named Default.

Copy Code
Get-ActiveSyncMailboxPolicy -Identity "Default" 

EXAMPLE 3

This example returns the policy settings for the Mobile Device mailbox policy named Management.

Copy Code
Get-ActiveSyncMailboxPolicy -Identity "Management"

Detailed Description

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

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 "Mobile Device mailbox policy settings" entry in the Clients and Mobile Devices 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.MailboxPolicyIdParameter

The Identity parameter specifies the policy name.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

This parameter is reserved for internal Microsoft use.

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.