Set-ActiveSyncMailboxPolicy
內部部署 Exchange 和雲端式服務有提供此 Cmdlet。 有些參數和設定可能是某一個環境所專屬。
使用 Set-ActiveSyncMailboxPolicy Cmdlet 將各種行動裝置信箱原則設定套用至伺服器。 您可以使用一個命令來設定任何參數。
注意:在 Exchange 2013 或更新版本中,請改用 Set-MobileDeviceMailboxPolicy Cmdlet。 如果您有使用 Set-ActiveSyncMailboxPolicy 的腳本,請將它們更新為使用 Set-MobileDeviceMailboxPolicy。
如需下方<語法>一節中參數集的詳細資訊,請參閱 Exchange Cmdlet 語法。
Syntax
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>]
Description
使用 Set-ActiveSyncMailboxPolicy Cmdlet,您可以在信箱原則中設定每個參數。
某些Microsoft行動裝置信箱原則設定需要行動裝置具有特定的內建功能,以強制執行這些安全性和裝置管理設定。 如果您的組織允許所有裝置,您必須將 AllowNonProvisionableDevices 參數設定為 $true。 這適用于無法強制執行所有原則設定的裝置。
您必須已獲指派權限,才能執行此指令程式。 雖然本主題已列出這個指令程式的所有參數,不過,如果某些參數並未包含在指派給您的權限中,您可能就無法存取這些參數。 若要尋找在組織中執行任何 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。 預設值為 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 參數會指定是否可以使用行動電話做為數據機,將電腦連線到網際網路。 預設值為 $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 參數會指定行動電話是否允許無線網際網路存取。 預設值為 $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 參數會指定是否啟用加密。 DeviceEncryptionEnabled 參數設定為 $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 |
-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
若要查看此指令程式可接受的輸入類型,請參閱指令程式輸入和輸出類型。 如果指令程式的 [輸入類型] 欄位是空的,表示指令程式不接受輸入資料。
輸出
Output types
若要查看此指令程式可接受的傳回類型 (也就是所謂的輸出類型),請參閱指令程式輸入和輸出類型。 如果 [輸出類型] 欄位是空的,表示指令程式不會傳回資料。