[This topic is in progress.]

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-19

Use the Set-ActiveSyncOrganizationSettings cmdlet to set the Microsoft Exchange ActiveSync settings for the organization.

Syntax

Set-ActiveSyncOrganizationSettings [-Identity <ActiveSyncOrganizationSettingsIdParameter>] [-AdminMailRecipients <MultiValuedProperty>] [-Confirm [<SwitchParameter>]] [-DefaultAccessLevel <Allow | Block | Quarantine>] [-DomainController <Fqdn>] [-OtaNotificationMailInsert <String>] [-UserMailInsert <String>] [-WhatIf [<SwitchParameter>]]

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 ActiveSync settings" entry in the Client Access Permissions topic.

Parameters

Parameter Required Type Description

AdminMailRecipients

Optional

Microsoft.Exchange.Data.MultiValuedProperty

The AdminMailRecipients parameter specifies the e-mail addresses of the administrators for reporting purposes.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch can be used to suppress the confirmation prompt that appears by default when this cmdlet is run. To suppress the confirmation prompt, use the syntax -Confirm:$False. You must include a colon ( : ) in the syntax.

DefaultAccessLevel

Optional

Microsoft.Exchange.Data.Directory.SystemConfiguration.DeviceAccessLevel

The DefaultAccessLevel parameter specifies whether new devices or existing devices are allowed, blocked, or quarantined.

Note:
If you use the ActiveSyncDeviceAccessRule rule to define an access group of Exchange mobile devices together with their access level for a specific set of devices, those devices are not affected by the DefaultAccessLevel parameter.

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.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.ActiveSyncOrganizationSettingsIdParameter

The Identity parameter specifies the unique identifier for the organization.

OtaNotificationMailInsert

Optional

System.String

The OtaNotificationMailInsert parameter specifies a string of information to be stored and included within an e-mail message to users with Windows Mobile 6.1 devices, in the event that the devices need to update their Microsoft Outlook Mobile software to use the new Exchange ActiveSync features in Microsoft Exchange Server 2010.

UserMailInsert

Optional

System.String

The UserMailInsert parameter specifies an informational footer that's added to the e-mail message sent to users when their mobile device isn't synchronized because the device is quarantined.

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.

Errors

Error Description

 

 

Examples

EXAMPLE 1

This example sets the default access level to quarantine and sets two administrative e-mail addresses.

Copy Code
Set-ActiveSyncOrganizationSettings -DefaultAccessLevel Quarantine -AdminMailRecipients will@contoso.com, roger@contoso.com