fr-FR

ActiveSyncMailboxPolicy

S’applique à : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online

La documentation Microsoft de ces stratégies n’existe qu’en anglais : les descriptions ci-dessous ne sont pas traduites.

This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings might be exclusive to one environment or the other.

Use the Set-ActiveSyncMailboxPolicy cmdlet to apply a variety of Mobile Device mailbox policy settings to a server. You can set any of the parameters by using one command.

Note: In Exchange 2013 or later, use the Set-MobileDeviceMailboxPolicy cmdlet instead. If you have scripts that use Set-ActiveSyncMailboxPolicy, update them to use Set-MobileDeviceMailboxPolicy.

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

With the Set-ActiveSyncMailboxPolicy cmdlet, you can set each parameter in a mailbox policy.

Some Microsoft Mobile Device mailbox policy settings require the mobile device to have specific built-in features that enforce these security and device management settings. If your organization allows all devices, you must set the AllowNonProvisionableDevices parameter to $true. This applies to devices that can't enforce all policy settings.

You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Cmdlets disponibles

Paramètres

Nom Type Valeur par défaut Valeurs acceptées
AllowApplePushNotifications Boolean
AllowBluetooth BluetoothType
AllowBrowser Boolean
AllowCamera Boolean
AllowConsumerEmail Boolean
AllowDesktopSync Boolean
AllowExternalDeviceManagement Boolean
AllowHTMLEmail Boolean
AllowInternetSharing Boolean
AllowIrDA Boolean
AllowMobileOTAUpdate Boolean
AllowNonProvisionableDevices Boolean
AllowPOPIMAPEmail Boolean
AllowRemoteDesktop Boolean
AllowSimpleDevicePassword Boolean
AllowSMIMEEncryptionAlgorithmNegotiation SMIMEEncryptionAlgorithmNegotiationType
AllowSMIMESoftCerts Boolean
AllowStorageCard Boolean
AllowTextMessaging Boolean
AllowUnsignedApplications Boolean
AllowUnsignedInstallationPackages Boolean
AllowWiFi Boolean
AlphanumericDevicePasswordRequired Boolean
ApprovedApplicationList ApprovedApplicationCollection
AttachmentsEnabled Boolean
DeviceEncryptionEnabled Boolean
DevicePasswordEnabled Boolean
DevicePasswordExpiration Unlimited
DevicePasswordHistory Int32
DevicePolicyRefreshInterval Unlimited
IrmEnabled Boolean
IsDefault Boolean
IsDefaultPolicy Boolean
MaxAttachmentSize Unlimited
MaxCalendarAgeFilter CalendarAgeFilterType
MaxDevicePasswordFailedAttempts Unlimited
MaxEmailAgeFilter EmailAgeFilterType
MaxEmailBodyTruncationSize Unlimited
MaxEmailHTMLBodyTruncationSize Unlimited
MaxInactivityTimeDeviceLock Unlimited
MinDevicePasswordComplexCharacters Int32
MinDevicePasswordLength Int32
Name String
PasswordRecoveryEnabled Boolean
RequireDeviceEncryption Boolean
RequireEncryptedSMIMEMessages Boolean
RequireEncryptionSMIMEAlgorithm EncryptionSMIMEAlgorithmType
RequireManualSyncWhenRoaming Boolean
RequireSignedSMIMEAlgorithm SignedSMIMEAlgorithmType
RequireSignedSMIMEMessages Boolean
RequireStorageCardEncryption Boolean
UnapprovedInROMApplicationList MultiValuedProperty
UNCAccessEnabled Boolean
WSSAccessEnabled Boolean

Exemples

Example 1

Set-ActiveSyncMailboxPolicy -Identity:SalesPolicy -DevicePasswordEnabled:$true -AlphanumericDevicePasswordRequired:$true -PasswordRecoveryEnabled:$true -AttachmentsEnabled:$true -MaxInactivityTimeDeviceLock:15:00 -IsDefault:$false

This example sets several policy settings for the Mobile Device mailbox policy SalesPolicy.

Example 2

Set-ActiveSyncMailboxPolicy -Identity:Management -DevicePasswordEnabled:$true -AlphanumericDevicePasswordRequired:$true -PasswordRecoveryEnabled:$true -AllowCamera:$true -AllowWiFi:$false -AllowStorageCard:$true -AllowPOPIMAPEmail:$false

This example sets several policy settings for the Mobile Device mailbox policy Management.

Example 3

Set-ActiveSyncMailboxPolicy -Identity:Default -DevicePasswordEnabled:$true -AlphanumericDevicePasswordRequired:$true -PasswordRecoveryEnabled:$true -MaxEmailAgeFilter:ThreeDays -AllowWiFi:$false -AllowStorageCard:$true -AllowPOPIMAPEmail:$false -IsDefault:$true -AllowTextMessaging:$true -Confirm:$true

This example sets several policy settings for the Mobile Device mailbox policy Default and requires confirmation before applying the settings.

Documentation Microsoft Learn