Set-ActiveSyncMailboxPolicy
此 cmdlet 可在本地 Exchange 和基于云的服务中使用。 一些参数和设置可能只适用于某个特定的环境。
使用 Set-ActiveSyncMailboxPolicy cmdlet 将各种移动设备邮箱策略设置应用于服务器。 可以使用一个命令设置任何参数。
注意:在 Exchange 2013 或更高版本中,请改用 Set-MobileDeviceMailboxPolicy cmdlet。 如果有使用 Set-ActiveSyncMailboxPolicy 的脚本,请将其更新为使用 Set-MobileDeviceMailboxPolicy。
有关以下语法部分的参数设置的详细信息,请参阅 Exchange cmdlet 语法。
语法
Set-ActiveSyncMailboxPolicy
[-Identity] <MailboxPolicyIdParameter>
[-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>]
[-Confirm]
[-DeviceEncryptionEnabled <Boolean>]
[-DevicePasswordEnabled <Boolean>]
[-DevicePasswordExpiration <Unlimited>]
[-DevicePasswordHistory <Int32>]
[-DevicePolicyRefreshInterval <Unlimited>]
[-DomainController <Fqdn>]
[-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>]
[-WhatIf]
[-WSSAccessEnabled <Boolean>]
[<CommonParameters>]
说明
使用 Set-ActiveSyncMailboxPolicy cmdlet,可以在邮箱策略中设置每个参数。
某些Microsoft移动设备邮箱策略设置要求移动设备具有强制实施这些安全和设备管理设置的特定内置功能。 如果组织允许所有设备,则必须将 AllowNonProvisionableDevices 参数设置为 $true。 这适用于无法强制实施所有策略设置的设备。
您必须先获得权限,然后才能运行此 cmdlet。 虽然本主题中列出了此 cmdlet 的所有参数,但如果这些参数并未包含在分配给您的权限中,那么您将无法使用这些参数。 若要查找在贵组织中运行任何 cmdlet 或参数所需的权限,请参阅 Find the permissions required to run any Exchange cmdlet。
示例
示例 1
Set-ActiveSyncMailboxPolicy -Identity:SalesPolicy -DevicePasswordEnabled:$true -AlphanumericDevicePasswordRequired:$true -PasswordRecoveryEnabled:$true -AttachmentsEnabled:$true -MaxInactivityTimeDeviceLock:15:00 -IsDefault:$false
本示例设置移动设备邮箱策略 SalesPolicy 的多个策略设置。
示例 2
Set-ActiveSyncMailboxPolicy -Identity:Management -DevicePasswordEnabled:$true -AlphanumericDevicePasswordRequired:$true -PasswordRecoveryEnabled:$true -AllowCamera:$true -AllowWiFi:$false -AllowStorageCard:$true -AllowPOPIMAPEmail:$false
本示例设置移动设备邮箱策略管理的多个策略设置。
示例 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
本示例为“移动设备邮箱策略默认”设置多个策略设置,需要在应用设置之前进行确认。
参数
-AllowApplePushNotifications
此参数仅在基于云的服务中可用。
AllowApplePushNotifications 参数指定是否允许向 Apple 移动设备发送推送通知。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Online |
-AllowBluetooth
AllowBluetooth 参数指定是否允许在移动电话上使用蓝牙功能。 可用选项为 Disable、HandsfreeOnly 和 Allow。 默认值为“允许”。
Type: | BluetoothType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowBrowser
AllowBrowser 参数指示是否允许在移动电话上使用 Microsoft Pocket Internet Explorer。 默认值为 $true。 此参数并不影响第三方浏览器。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowCamera
AllowCamera 参数指定是否允许移动电话的相机。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowConsumerEmail
AllowConsumerEmail 参数指定移动电话用户是否可以在移动电话上配置个人电子邮件帐户。 默认值为 $true。 此参数不使用第三方移动电话电子邮件程序控制对电子邮件的访问。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowDesktopSync
AllowDesktopSync 参数指定移动电话是否可以通过电缆与台式计算机同步。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowExternalDeviceManagement
AllowExternalDeviceManagement 参数指定是否允许外部设备管理程序管理移动电话。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowHTMLEmail
AllowHTMLEmail 参数指定是否在移动电话上启用 HTML 电子邮件。 默认值为 $true。 如果设置为 $false,则所有电子邮件都会先转换为纯文本,然后再进行同步。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowInternetSharing
AllowInternetSharing 参数指定移动电话是否可以用作调制解调器来将计算机连接到 Internet。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowIrDA
AllowIrDA 参数指定是否允许将红外连接连接到移动电话。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowMobileOTAUpdate
AllowMobileOTAUpdate 参数指定是否可以通过手机网络数据连接将Exchange ActiveSync邮箱策略发送到移动电话。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowNonProvisionableDevices
AllowNonProvisionableDevices 参数指定所有移动电话是否可以与运行 Exchange 的服务器同步。 设置为 $true 时,AllowNonProvisionableDevices 参数允许所有移动电话与 Exchange 服务器同步,而不管手机是否可以强制实施在移动设备邮箱策略中建立的所有特定设置。 这还包括由单独的设备管理系统管理的移动电话。 如果设置为 $false,此参数将阻止未预配的移动电话与 Exchange 服务器同步。 默认值为 $false。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowPOPIMAPEmail
AllowPOPIMAPEmail 参数指定用户是否可以在移动电话上配置 POP3 或 IMAP4 电子邮件帐户。 默认值为 $true。 此参数不控制第三方电子邮件程序的访问。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowRemoteDesktop
AllowRemoteDesktop 参数指定移动电话是否可以启动远程桌面连接。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowSimpleDevicePassword
AllowSimpleDevicePassword 参数指定是否允许简单的设备密码。 简单设备密码是具有特定模式(例如 1111 或 1234)的密码。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowSMIMEEncryptionAlgorithmNegotiation
AllowSMIMEEncryptionAlgorithmNegotiation 参数指定如果收件人的证书不支持指定的加密算法,移动电话上的消息传递应用程序是否可以协商加密算法。
Type: | SMIMEEncryptionAlgorithmNegotiationType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowSMIMESoftCerts
AllowSMIMESoftCerts 参数指定是否允许 S/MIME 软件证书。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowStorageCard
AllowStorageCard 参数指定移动电话是否可以访问存储在存储卡上的信息。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowTextMessaging
AllowTextMessaging 参数指定是否允许从移动电话发送短信。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowUnsignedApplications
AllowUnsignedApplications 参数指定是否可以在移动电话上安装未签名的应用程序。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowUnsignedInstallationPackages
AllowUnsignedInstallationPackages 参数指定是否可以在移动电话上执行未签名的安装包。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AllowWiFi
AllowWiFi 参数指定是否允许移动电话上的无线 Internet 访问。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AlphanumericDevicePasswordRequired
AlphanumericDevicePasswordRequired 参数指定移动电话的密码是否必须为字母数字。 默认值为 $false。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-ApprovedApplicationList
ApprovedApplicationList 参数指定移动电话的已批准应用程序列表。
Type: | ApprovedApplicationCollection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-AttachmentsEnabled
AttachmentsEnabled 参数指定是否可以下载附件。 设置为 $false 时,AttachmentsEnabled 参数会阻止用户下载附件。 默认值为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-Confirm
Confirm 开关指定是否显示确认提示。 此开关对 cmdlet 造成的影响取决于在你继续操作之前 cmdlet 是否需要确认。
- 破坏性 cmdlet (例如,Remove-* cmdlet) 具有内置的暂停,该暂停会强制你在继续操作之前确认命令。 对于这些 cmdlet,您可以使用此确切语法跳过确认提示:
-Confirm:$false
。 - 大多数其他 cmdlet (例如,New-* 和 Set-* cmdlet) 没有内置暂停。 对于这些 cmdlet,指定不含值的 Confirm 开关会引入暂停,从而强制要求你先确认命令,然后再继续操作。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-DeviceEncryptionEnabled
DeviceEncryptionEnabled 参数指定是否启用加密。 设置为 $true 时,DeviceEncryptionEnabled 参数在移动电话上启用设备加密。 默认值为 $false。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-DevicePasswordEnabled
DevicePasswordEnabled 参数指定是否需要密码。 设置为 $true 时,DevicePasswordEnabled 参数要求用户为移动电话设置密码。 默认值为 $false。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-DevicePasswordExpiration
DevicePasswordExpiration 参数指定可以使用密码的时间长度(以天为单位)。 在此时间长度过后,必须创建一个新密码。 参数的格式为 dd.hh.mm:ss,例如 24.00:00 = 24 小时。
Type: | Unlimited |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-DevicePasswordHistory
DevicePasswordHistory 参数指定要存储的以前使用的密码数。 当用户创建密码时,用户无法重复使用以前使用的存储密码。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-DevicePolicyRefreshInterval
DevicePolicyRefreshInterval 参数指定策略从服务器发送到移动电话的频率。
Type: | Unlimited |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-DomainController
此参数只在本地 Exchange 中可用。
DomainController 参数指定此 cmdlet 从 Active Directory 读取数据或向其写入数据时使用的域控制器。 可以使用完全限定的域名 (FQDN) 来标识域控制器。 例如,dc01.contoso.com。
Type: | Fqdn |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019 |
-Identity
Identity 参数指定移动设备邮箱策略。
Type: | MailboxPolicyIdParameter |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-IrmEnabled
IrmEnabled 参数指定是否为邮箱策略启用信息权限管理 (IRM) 。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-IsDefault
IsDefault 参数指定此策略是否为默认的移动设备邮箱策略。 默认值为 $false。 如果当前将另一个策略设置为默认策略,则设置此参数会用此策略替换旧的默认策略。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-IsDefaultPolicy
IsDefault 参数指定此策略是否为默认的移动设备邮箱策略。 默认值为 $false。 如果当前将另一个策略设置为默认策略,则设置此参数会用此策略替换旧的默认策略。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MaxAttachmentSize
MaxAttachmentSize 参数指定可下载到移动电话的附件的最大大小。 默认值为“Unlimited”。
Type: | Unlimited |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MaxCalendarAgeFilter
MaxCalendarAgeFilter 参数指定可同步到设备的最大日历天数范围。 通过输入以下值之一来指定该值:
- 全部
- OneDay
- ThreeDays
- OneWeek
- TwoWeeks
- OneMonth
Type: | CalendarAgeFilterType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MaxDevicePasswordFailedAttempts
MaxDevicePasswordFailedAttempts 参数指定用户可以尝试为移动电话输入正确密码的次数。 可以输入 4 到 16 之间的任意数字。 默认值为 8。
Type: | Unlimited |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MaxEmailAgeFilter
MaxEmailAgeFilter 参数指定要同步到移动电话的电子邮件项目的最大天数。 该值是通过输入以下值之一指定的。
- 全部
- OneDay
- ThreeDays
- OneWeek
- TwoWeeks
- OneMonth
Type: | EmailAgeFilterType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MaxEmailBodyTruncationSize
MaxEmailBodyTruncationSize 参数指定同步到移动电话时截断电子邮件的最大大小。 该值以 KB 为单位进行指定。
Type: | Unlimited |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MaxEmailHTMLBodyTruncationSize
MaxEmailHTMLBodyTruncationSize 参数指定 HTML 格式的电子邮件同步到移动电话的最大大小。 该值以 KB 为单位指定。
Type: | Unlimited |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MaxInactivityTimeDeviceLock
MaxInactivityTimeDeviceLock 参数指定移动电话在需要密码重新激活手机之前可以处于非活动状态的时间长度。 可以输入 30 秒和 1 小时之间的任何时间间隔。 默认值为 15 分钟。 参数的格式为 hh.mm:ss,例如 15:00 = 15 分钟。
Type: | Unlimited |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MinDevicePasswordComplexCharacters
MinDevicePasswordComplexCharacters 参数指定移动电话密码中所需的最小复杂字符数。 复杂字符不是字母。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-MinDevicePasswordLength
MinDevicePasswordLength 参数指定设备密码中的最小字符数。 可以输入 1 到 16 之间的任意数字。 密码的最大长度为 16 个字符。 默认值为 4。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-Name
Name 参数指定移动设备邮箱策略的友好名称。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-PasswordRecoveryEnabled
PasswordRecoveryEnabled 参数指定移动电话的恢复密码是否存储在 Exchange 服务器上。 设置为 $true 时,PasswordRecoveryEnabled 参数使你能够在 Exchange 服务器上存储移动电话的恢复密码。 默认值为 $false。 可以从Outlook 网页版或 Exchange 管理中心查看恢复密码。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-RequireDeviceEncryption
RequireDeviceEncryption 参数指定是否需要在设备上加密。 默认值为 $false。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-RequireEncryptedSMIMEMessages
RequireEncryptedSMIMEMessages 参数指定是否必须加密 S/MIME 消息。 默认值为 $false。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-RequireEncryptionSMIMEAlgorithm
RequireEncryptionSMIMEAlgorithm 参数指定加密消息时必须使用的必需算法。
Type: | EncryptionSMIMEAlgorithmType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-RequireManualSyncWhenRoaming
RequireManualSyncWhenRoaming 参数指定移动电话在漫游时是否必须手动同步。 默认值为 $false。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-RequireSignedSMIMEAlgorithm
RequireSignedSMIMEAlgorithm 参数指定在对消息进行签名时必须使用的必需算法。
Type: | SignedSMIMEAlgorithmType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-RequireSignedSMIMEMessages
RequireSignedSMIMEMessages 参数指定移动电话是否必须发送已签名的 S/MIME 消息。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-RequireStorageCardEncryption
RequireStorageCardEncryption 参数指定是否为邮箱策略启用存储卡加密。 将此参数设置为 $true 还会将 DeviceEncryptionEnabled 参数设置为 $true。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-UnapprovedInROMApplicationList
UnapprovedInROMApplicationList 参数包含无法在 ROM 中运行的应用程序列表。
Type: | MultiValuedProperty |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-UNCAccessEnabled
UNCAccessEnabled 参数指定是否启用对Microsoft Windows 文件共享的访问。 对特定共享的访问权限在Exchange ActiveSync虚拟目录上配置。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-WhatIf
WhatIf 开关模拟命令操作。 可以使用此开关在不实际应用将会发生的更改的情况下预览这些更改。 不必为此开关指定值。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
-WSSAccessEnabled
WSSAccessEnabled 参数指定是否启用对Microsoft Windows SharePoint Services的访问。 对特定共享的访问权限在Exchange ActiveSync虚拟目录上配置。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online |
输入
Input types
若要了解此 cmdlet 接受的输入类型,请参阅 cmdlet 的输入和输出类型。 如果 cmdlet 的"输入类型"字段为空,则表明此 cmdlet 不接受输入数据。
输出
Output types
若要了解此 cmdlet 接受的返回类型(亦称为"输出类型"),请参阅 cmdlet 的输入和输出类型。 如果"输出类型"字段为空,则表明此 cmdlet 不返回任何数据。