Set-MailboxTransportService

內部部署 Exchange 才有提供此 Cmdlet。

使用 Set-MailboxTransportService Cmdlet 來修改 Exchange 2013 或更新版本信箱伺服器上信箱傳輸服務的設定。

如需下方<語法>一節中參數集的詳細資訊,請參閱 Exchange Cmdlet 語法

Syntax

Set-MailboxTransportService
   [-Identity] <MailboxTransportServerIdParameter>
   [-Confirm]
   [-ConnectivityLogEnabled <Boolean>]
   [-ConnectivityLogMaxAge <EnhancedTimeSpan>]
   [-ConnectivityLogMaxDirectorySize <Unlimited>]
   [-ConnectivityLogMaxFileSize <Unlimited>]
   [-ConnectivityLogPath <LocalLongFullPath>]
   [-ContentConversionTracingEnabled <Boolean>]
   [-DomainController <Fqdn>]
   [-MailboxDeliveryAgentLogEnabled <Boolean>]
   [-MailboxDeliveryAgentLogMaxAge <EnhancedTimeSpan>]
   [-MailboxDeliveryAgentLogMaxDirectorySize <Unlimited>]
   [-MailboxDeliveryAgentLogMaxFileSize <Unlimited>]
   [-MailboxDeliveryAgentLogPath <LocalLongFullPath>]
   [-MailboxDeliveryConnectorMaxInboundConnection <Unlimited>]
   [-MailboxDeliveryConnectorProtocolLoggingLevel <ProtocolLoggingLevel>]
   [-MailboxDeliveryConnectorSMTPUtf8Enabled <Boolean>]
   [-MailboxDeliveryThrottlingLogEnabled <Boolean>]
   [-MailboxDeliveryThrottlingLogMaxAge <EnhancedTimeSpan>]
   [-MailboxDeliveryThrottlingLogMaxDirectorySize <Unlimited>]
   [-MailboxDeliveryThrottlingLogMaxFileSize <Unlimited>]
   [-MailboxDeliveryThrottlingLogPath <LocalLongFullPath>]
   [-MailboxSubmissionAgentLogEnabled <Boolean>]
   [-MailboxSubmissionAgentLogMaxAge <EnhancedTimeSpan>]
   [-MailboxSubmissionAgentLogMaxDirectorySize <Unlimited>]
   [-MailboxSubmissionAgentLogMaxFileSize <Unlimited>]
   [-MailboxSubmissionAgentLogPath <LocalLongFullPath>]
   [-MaxConcurrentMailboxDeliveries <Int32>]
   [-MaxConcurrentMailboxSubmissions <Int32>]
   [-PipelineTracingEnabled <Boolean>]
   [-PipelineTracingPath <LocalLongFullPath>]
   [-PipelineTracingSenderAddress <SmtpAddress>]
   [-ReceiveProtocolLogMaxAge <EnhancedTimeSpan>]
   [-ReceiveProtocolLogMaxDirectorySize <Unlimited>]
   [-ReceiveProtocolLogMaxFileSize <Unlimited>]
   [-ReceiveProtocolLogPath <LocalLongFullPath>]
   [-RoutingTableLogMaxAge <EnhancedTimeSpan>]
   [-RoutingTableLogMaxDirectorySize <Unlimited>]
   [-RoutingTableLogPath <LocalLongFullPath>]
   [-SendProtocolLogMaxAge <EnhancedTimeSpan>]
   [-SendProtocolLogMaxDirectorySize <Unlimited>]
   [-SendProtocolLogMaxFileSize <Unlimited>]
   [-SendProtocolLogPath <LocalLongFullPath>]
   [-WhatIf]
   [<CommonParameters>]

Description

Mailbox Transport sercive 可於所有 Mailbox server 上執行,且負責使用遠端程序呼叫 (RPC) 從本地信箱資料庫傳遞訊息並接收訊息。 信箱傳輸服務也可使用 SMTP 以傳送郵件至所有執行於信箱伺服器的傳輸服務 (反之亦然),以路由郵件至其最終目的地。

您必須已獲指派權限,才能執行此指令程式。 雖然本主題已列出這個指令程式的所有參數,不過,如果某些參數並未包含在指派給您的權限中,您可能就無法存取這些參數。 若要尋找在組織中執行任何 Cmdlet 或參數所需的權限,請參閱 Find the permissions required to run any Exchange cmdlet

範例

範例 1

Set-MailboxTransportService Mailbox01 -ReceiveProtocolLogPath "C:\SMTP Protocol Logs\Receive.log"

此範例會將 Mailbox01 伺服器的 Mailbox server 上 Mailbox Transport service 的 ReceiveProtocolLogPath 參數設定為 C:\SMTP Protocol Logs\Receive.log。

參數

-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 2013, Exchange Server 2016, Exchange Server 2019

-ConnectivityLogEnabled

ConnectivityLogEnabled 參數會指定是否要啟用連線記錄。 預設值為 $true。

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

-ConnectivityLogMaxAge

ConnectivityLogMaxAge 參數會指定連線記錄檔的保留天數上限。 比指定值舊的記錄檔會遭到刪除。 預設值是 30 天。

若要指定值,請輸入時間範圍值:dd.hh:mm:ss,其中 dd = 天數、hh = 時數、mm = 分鐘數,而 ss = 秒數。

例如,若要為此參數指定 25 天,請使用 25.00:00:00。 此參數的有效輸入範圍是 00:00:00 到 24855.03:14:07。 將 ConnectivityLogMaxAge 參數的值設定為 00:00:00,可防止自動移除連線記錄檔,因為它們的存留期。

Type:EnhancedTimeSpan
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

-ConnectivityLogMaxDirectorySize

ConnectivityLogMaxDirectorySize 參數會指定連線記錄檔目錄中所有連線記錄檔的大小上限。 目錄達到檔案大小上限時,伺服器會先刪除最舊的記錄檔。 預設值為 1,000 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

ConnectivityLogMaxFileSize 參數的值必須小於或等於 ConnectivityLogMaxDirectorySize 參數的值。 這兩個參數的有效輸入範圍都是 1 到 9223372036854775807 個位元組。 如果輸入 unlimited 值,則不會限制連線記錄目錄的大小。

Type:Unlimited
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

-ConnectivityLogMaxFileSize

ConnectivityLogMaxFileSize 參數會指定每個連線記錄檔的大小上限。 當記錄檔達到其最大的檔案大小時,將建立新的記錄檔。 預設值為 10 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

ConnectivityLogMaxFileSize 參數的值必須小於或等於 ConnectivityLogMaxDirectorySize 參數的值。 這兩個參數的有效輸入範圍都是 1 到 9223372036854775807 個位元組。 如果輸入 unlimited 值,則不會限制連線記錄檔的大小。

Type:Unlimited
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

-ConnectivityLogPath

ConnectivityLogPath 參數會指定預設的連線記錄檔目錄位置。 預設位置是 %ExchangeInstallPath%TransportRoles\Logs\Mailbox\Connectivity。 將此參數的值設為 $null 會停用連線記錄。 不過,當 ConnectivityLogEnabled 屬性的值為 $true 時,將此參數設為 $null 會產生事件日誌錯誤。

Type:LocalLongFullPath
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

-ContentConversionTracingEnabled

ContentConversionTracingEnabled 參數會指定是否啟用內容轉換追蹤。 內容轉換追蹤能擷取發生在信箱伺服器上傳輸服務或信箱傳輸服務的內容轉換失敗。 預設值為 $false。 內容轉換追蹤最多擷取 128 MB 的內容轉換失敗。 達到 128 MB 的限制時,就不會再擷取內容轉換失敗。 內容轉換追蹤會將電子郵件的完整內容擷取至由 PipelineTracingPath 參數所指定的路徑。 請確定已限制此目錄的存取權。 PipelineTracingPath 參數所指定之目錄上的必要權限如下:

  • 系統管理員:完全控制
  • 網路服務:完全控制
  • 系統:完全控制
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

-DomainController

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 2013, Exchange Server 2016, Exchange Server 2019

-Identity

Identity 參數會指定要修改的伺服器。

Type:MailboxTransportServerIdParameter
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Server 2013, Exchange Server 2016, Exchange Server 2019

-MailboxDeliveryAgentLogEnabled

MailboxDeliveryAgentLogEnabled 參數會指定是否啟用 Mailbox Transport Delivery 服務的代理程式記錄。 預設值為 $true。

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

-MailboxDeliveryAgentLogMaxAge

MailboxDeliveryAgentLogMaxAge 參數會指定 Mailbox Transport Delivery 服務代理程式記錄檔的保留天數上限。 比指定值舊的記錄檔會遭到刪除。 預設值為 7.00:00:00 或 7 天。

若要指定值,請輸入時間範圍值:dd.hh:mm:ss,其中 dd = 天數、hh = 時數、mm = 分鐘數,而 ss = 秒數。

將 MailboxDeliveryAgentLogMaxAge 參數的值設為 00:00:00 ,可防止因保留天數之故而自動移除代理程式記錄檔。

Type:EnhancedTimeSpan
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

-MailboxDeliveryAgentLogMaxDirectorySize

MailboxDeliveryAgentLogMaxDirectorySize 參數會指定代理程式記錄目錄中所有 Mailbox Transport Delivery 服務代理程式記錄檔的大小上限。 目錄達到檔案大小上限時,伺服器會先刪除最舊的記錄檔。 預設值為 250 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

MailboxDeliveryAgentLogMaxFileSize 參數的值必須小於或等於 MailboxDeliveryAgentLogMaxDirectorySize 參數的值。 如果輸入 unlimited 的值,則不會限制代理程式記錄目錄的大小。

Type:Unlimited
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

-MailboxDeliveryAgentLogMaxFileSize

MailboxDeliveryAgentLogMaxFileSize 參數會指定 Mailbox Transport Delivery 服務每一個代理程式記錄檔的大小上限。 當記錄檔達到其最大的檔案大小時,將建立新的記錄檔。 預設值為 10 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

MailboxDeliveryAgentLogMaxFileSize 參數的值必須小於或等於 MailboxDeliveryAgentLogMaxDirectorySize 參數的值。 如果輸入 unlimited 的值,則不會限制代理程式記錄檔的大小。

Type:Unlimited
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

-MailboxDeliveryAgentLogPath

MailboxDeliveryAgentLogPath 參數會指定 Mailbox Transport Delivery 服務的預設代理程式記錄目錄位置。 預設位置是 %ExchangeInstallPath%TransportRoles\Logs\Mailbox\AgentLog\Delivery。 將此參數的值設為 $null 會停用代理程式記錄。 不過,當 MailboxDeliveryAgentLogEnabled 屬性的值為 $true 時,將此參數設為 $null 會產生事件日誌錯誤。

Type:LocalLongFullPath
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

-MailboxDeliveryConnectorMaxInboundConnection

MailboxDeliveryConnectorMaxInboundConnection 參數會指定信箱傳輸傳遞服務中隱含和不可見信箱傳遞接收連接器的輸入連線數目上限。 預設值為 5000。 如果您輸入無限制的值,信箱傳遞接收連接器不會載入任何連線限制。

Type:Unlimited
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Server 2016, Exchange Server 2019

-MailboxDeliveryConnectorProtocolLoggingLevel

MailboxDeliveryConnectorProtocolLoggingLevel 參數會啟用或停用信箱傳輸傳遞服務中隱含和不可見信箱傳遞接收連接器的 SMTP 通訊協定記錄。 有效值為:

  • 無:信箱傳遞接收連接器的通訊協定記錄已停用。 這是預設值。
  • 詳細資訊:已針對信箱傳遞接收連接器啟用通訊協定記錄。 記錄檔的位置是由 ReceiveProtocolLogPath 參數所控制。
Type:ProtocolLoggingLevel
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

-MailboxDeliveryConnectorSmtpUtf8Enabled

MailboxDeliveryConnectorSmtpUtf8Enabled 參數或停用電子郵件地址國際化 (EAI) 信箱傳輸服務中隱含和不可見信箱傳遞接收連接器的支援。 有效值為:

  • $true:郵件可以傳遞至電子郵件地址中具有國際字元的本機信箱。 此為預設值。
  • $false:郵件無法傳遞至電子郵件地址中有國際字元的本機信箱。
Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Server 2019

-MailboxDeliveryThrottlingLogEnabled

MailboxDeliveryThrottlingLogEnabled 參數會指定是否啟用信箱傳遞節流記錄。 預設值為 $true。

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

-MailboxDeliveryThrottlingLogMaxAge

MailboxDeliveryThrottlingLogMaxAge 參數會指定信箱傳遞節流記錄檔的保留天數上限。 比指定值舊的記錄檔會遭到刪除。 預設值為 7.00:00:00 或 7 天。

若要指定值,請輸入時間範圍值:dd.hh:mm:ss,其中 dd = 天數、hh = 時數、mm = 分鐘數,而 ss = 秒數。

將 MailboxDeliveryThrottlingLogMaxAge 參數的值設為 00:00:00,可以防止因為信箱傳遞節流記錄檔的保留天數而自動移除 DNS 記錄檔。

Type:EnhancedTimeSpan
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

-MailboxDeliveryThrottlingLogMaxDirectorySize

MailboxDeliveryThrottlingLogMaxDirectorySize 參數會指定信箱傳遞節流記錄目錄中所有信箱傳遞節流記錄的大小上限。 目錄達到檔案大小上限時,伺服器會先刪除最舊的記錄檔。 預設值為 200 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

MailboxDeliveryThrottlingLogMaxFileSize 參數的值必須小於或等於 MailboxDeliveryThrottlingLogMaxDirectorySize 參數的值。 如果輸入 unlimited 值,則不會限制信箱傳遞節流記錄目錄的大小。

Type:Unlimited
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

-MailboxDeliveryThrottlingLogMaxFileSize

MailboxDeliveryThrottlingLogMaxFileSize 參數會指定每個信箱傳遞節流記錄檔的大小上限。 當記錄檔達到其最大的檔案大小時,將建立新的記錄檔。 預設值為 10 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

MailboxDeliveryThrottlingLogMaxFileSize 參數的值必須小於或等於 MailboxDeliveryThrottlingLogMaxDirectorySize 參數的值。 如果輸入 unlimited 值,則不會限制信箱傳遞節流記錄檔的大小。

Type:Unlimited
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

-MailboxDeliveryThrottlingLogPath

MailboxDeliveryThrottlingLogPath 參數會指定預設的信箱傳遞節流記錄目錄位置。 預設位置是 %ExchangeInstallPath%TransportRoles\Logs\Throttling\Delivery。 將此參數的值設為 $null 會停用信箱傳遞節流記錄。 不過,當 MailboxDeliveryThrottlingLogEnabled 屬性的值為 $true 時,將此參數設為 $null 會產生事件日誌錯誤。

Type:LocalLongFullPath
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

-MailboxSubmissionAgentLogEnabled

MailboxSubmissionAgentLogEnabled 參數會指定是否針對 Mailbox Transport Delivery 服務啟用代理程式記錄。 預設值為 $true。

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

-MailboxSubmissionAgentLogMaxAge

MailboxSubmissionAgentLogMaxAge 參數會指定 Mailbox Transport Submission 服務代理程式記錄檔的保留天數上限。 比指定值舊的記錄檔會遭到刪除。 預設值為 7.00:00:00 或 7 天。

若要指定值,請輸入時間範圍值:dd.hh:mm:ss,其中 dd = 天數、hh = 時數、mm = 分鐘數,而 ss = 秒數。

將 MailboxSubmissionAgentLogMaxAge 參數的值設為 00:00:00 ,可防止因保留天數之故而自動移除代理程式記錄檔。

Type:EnhancedTimeSpan
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

-MailboxSubmissionAgentLogMaxDirectorySize

MailboxSubmissionAgentLogMaxDirectorySize 參數會指定代理程式記錄目錄中所有 Mailbox Transport Submission 服務代理程式記錄檔的大小上限。 目錄達到檔案大小上限時,伺服器會先刪除最舊的記錄檔。 預設值為 250 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

MailboxSubmissionAgentLogMaxFileSize 參數的值必須小於或等於 MailboxSubmissionAgentLogMaxDirectorySize 參數的值。 如果輸入 unlimited 的值,則不會限制代理程式記錄目錄的大小。

Type:Unlimited
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

-MailboxSubmissionAgentLogMaxFileSize

MailboxSubmissionAgentLogMaxFileSize 參數會指定Mailbox Transport Submission 服務每一個代理程式記錄檔的大小上限。 當記錄檔達到其最大的檔案大小時,將建立新的記錄檔。 預設值為 10 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

MailboxSubmissionAgentLogMaxFileSize 參數的值必須小於或等於 MailboxSubmissionAgentLogMaxDirectorySize 參數的值。 如果輸入 unlimited 的值,則不會限制代理程式記錄檔的大小。

Type:Unlimited
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

-MailboxSubmissionAgentLogPath

MailboxSubmissionAgentLogPath 參數會指定 Mailbox Transport Submission 服務的預設代理程式記錄目錄位置。 預設位置是 %ExchangeInstallPath%TransportRoles\Logs\Mailbox\AgentLog\Submission。 將此參數的值設為 $null 會停用代理程式記錄。 不過,當 MailboxSubmissionAgentLogEnabled 屬性的值為 $true 時,將此參數設為 $null 會產生事件日誌錯誤。

Type:LocalLongFullPath
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

-MaxConcurrentMailboxDeliveries

MaxConcurrentMailboxDeliveries 參數會指定伺服器同時開啟以將郵件傳遞至信箱的傳遞執行緒數上限。 預設值是 20。 此參數的有效輸入範圍是 1 到 256。 除非是 Microsoft 客戶服務與支援中心的建議,否則建議您不要修改預設值。

Type:Int32
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

-MaxConcurrentMailboxSubmissions

MaxConcurrentMailboxSubmissions 參數會指定伺服器同時開啟以從信箱傳送郵件的提交執行緒數上限。 預設值是 20。 此參數的有效輸入範圍是 1 到 256。

Type:Int32
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

-PipelineTracingEnabled

PipelineTracingEnabled 參數會指定是否啟用管線追蹤。 管線追蹤會擷取用來記錄每個傳輸代理程式對郵件所進行之變更的郵件快照集檔案,而這些傳輸代理程式是設定在伺服器的傳輸服務。 管線追蹤會建立快速累積的詳細資訊記錄檔。 管線追蹤應該只可以短時間啟用,提供可讓您疑難排解問題的深入診斷資訊。 除了進行疑難排解之外,您還可使用管線追蹤在啟用管線追蹤的伺服器上,驗證您對傳輸服務進行的組態變更。 預設值為 $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

-PipelineTracingPath

PipelineTracingPath 參數會指定管線追蹤記錄的位置。 預設位置為 %ExchangeInstallPath%TransportRoles\Logs\Mailbox\PipelineTracing。 路徑必須是 Exchange 伺服器的本機路徑。

將此參數設定為值$null會停用管線追蹤。 不過,當 PipelineTracingEnabled 屬性的值為 $true 時,將此參數設為 $null 會產生事件日誌錯誤。 停用管線追蹤的偏好方法是使用 PipelineTracingEnabled 參數。

管線轉換追蹤會將電子郵件的完整內容擷取至由 PipelineTracingPath 參數所指定的路徑。 請確定已限制此目錄的存取權。 PipelineTracingPath 參數所指定之目錄上的必要權限如下:

  • 系統管理員:完全控制
  • 網路服務:完全控制
  • 系統:完全控制
Type:LocalLongFullPath
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

-PipelineTracingSenderAddress

PipelineTracingSenderAddress 參數會指定會呼叫管線追蹤的寄件者電子郵件地址。 只有來自此位址的郵件會產生管線追蹤輸出。 位址可以是 Exchange 組織內部或外部。 根據您的需求,可能需要將此參數設為不同的寄件者地址,並傳送新郵件來啟動想要測試的傳輸代理程式或路由。 此參數的預設值為 $null。

Type:SmtpAddress
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

-ReceiveProtocolLogMaxAge

ReceiveProtocolLogMaxAge 參數指定信箱傳輸傳遞服務中隱含與隱藏之信箱傳遞接收連接器通訊協定記錄檔的保留天數上限。 系統會自動刪除比指定值舊的記錄檔。

若要指定值,請輸入時間範圍值:dd.hh:mm:ss,其中 dd = 天數、hh = 時數、mm = 分鐘數,而 ss = 秒數。

有效值為 00:00:00 至 24855.03:14:07。 預設值是 30.00:00:00 (30 天)。

00:00:00 值可以防止因保留天數之故而自動移除的接收連接器通訊協定記錄檔。

只有在 MailboxDeliveryConnectorProtocolLoggingLevel 參數設定為 Verbose 時,此參數才有意義。

Type:EnhancedTimeSpan
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

-ReceiveProtocolLogMaxDirectorySize

ReceiveProtocolLogMaxDirectorySize 參數指定信箱傳輸傳遞服務中隱含與隱藏之信箱傳遞接收連接器通訊協定記錄檔目錄的大小上限。 目錄大小達到上限時,伺服器會先刪除最舊的記錄檔。

有效值是最高 909.5 TB (999999999999999 個位元組) 的數值或 unlimited 值。 預設值為 250 MB (262144000 個位元組)。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

參數的值必須大於或等於 ReceiveProtocolLogMaxFileSize 參數的值。

只有在 MailboxDeliveryConnectorProtocolLoggingLevel 參數設定為 Verbose 時,此參數才有意義。

Type:Unlimited
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

-ReceiveProtocolLogMaxFileSize

ReceiveProtocolLogMaxFileSize 參數指定信箱傳輸傳遞服務中隱含與隱藏之信箱傳遞接收連接器通訊協定記錄檔的大小上限。 當記錄檔達到其最大的檔案大小時,將建立新的記錄檔。

有效值是最高 909.5 TB (999999999999999 個位元組) 的數值或 unlimited 值。 預設值為 10 MB (10485760 個位元組)。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

此參數的值必須小於或等於 ReceiveProtocolLogMaxDirectorySize 參數的值。

只有在 MailboxDeliveryConnectorProtocolLoggingLevel 參數設定為 Verbose 時,此參數才有意義。

Type:Unlimited
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

-ReceiveProtocolLogPath

ReceiveProtocolLogPath 參數指定信箱傳輸傳遞服務中隱含與隱藏之信箱傳遞接收連接器通訊協定記錄檔目錄的位置。 預設位置是 %ExchangeInstallPath%TransportRoles\Logs\Mailbox\ProtocolLog\SmtpReceive。 記錄檔會自動儲存於 Delivery 子目錄。

此參數請勿使用值 $null,因為如果已啟用信箱傳遞接收連接器的通訊協定記錄,就會產生事件記錄錯誤。 若要停用此連接器的通訊協定記錄,請針對 MailboxDeliveryConnectorProtocolLoggingLevel 參數使用 None 值。

Type:LocalLongFullPath
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

-RoutingTableLogMaxAge

RoutingTableLogMaxAge 參數會指定路由表記錄檔的保留天數上限。 比指定值舊的記錄檔會遭到刪除。 預設值是 7 天。

若要指定值,請輸入時間範圍值:dd.hh:mm:ss,其中 dd = 天數、hh = 時數、mm = 分鐘數,而 ss = 秒數。

例如,若要為此參數指定 5 天,請使用 5.00:00:00。 此參數的有效輸入範圍是 00:00:00 到 24855.03:14:07。 將此參數設定為 00:00:00 可防止自動移除路由表記錄檔,因為它們的存留期。

Type:EnhancedTimeSpan
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Server 2016, Exchange Server 2019

-RoutingTableLogMaxDirectorySize

RoutingTableLogMaxDirectorySize 參數會指定路由表記錄目錄的大小上限。 目錄大小達到上限時,伺服器會先刪除最舊的記錄檔。 預設值為 250 MB。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

此參數的有效輸入範圍是 1 到 9223372036854775807 個位元組。 如果輸入 unlimited 值,則不會限制路由表記錄目錄的大小。

Type:Unlimited
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Server 2016, Exchange Server 2019

-RoutingTableLogPath

RoutingTableLogPath 參數會指定儲存路由表記錄檔的目錄位置。 預設位置為 %ExchangeInstallPath%TransportRoles\Logs\Mailbox\Routing。 將此參數設定為 $null會停用路由表記錄。

Type:LocalLongFullPath
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Server 2016, Exchange Server 2019

-SendProtocolLogMaxAge

SendProtocolLogMaxAge 參數指定信箱傳輸提交服務中隱含與隱藏之組織內傳送連接器通訊協定記錄檔的保留天數上限。 系統會自動刪除比指定值舊的記錄檔。

若要指定值,請輸入時間範圍值:dd.hh:mm:ss,其中 dd = 天數、hh = 時數、mm = 分鐘數,而 ss = 秒數。

有效值為 00:00:00 至 24855.03:14:07。 預設值是 30.00:00:00 (30 天)。 00:00:00 值可以防止因保留天數之故而自動移除的傳送連接器通訊協定記錄檔。

此參數只有在 Set-transportservice 指令程式的 IntraOrgConnectorProtocolLoggingLevel 參數設定為 Verbose 值時才有意義。

Type:EnhancedTimeSpan
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

-SendProtocolLogMaxDirectorySize

SendProtocolLogMaxDirectorySize 參數指定信箱傳輸提交服務中隱含與隱藏之組織內傳送連接器通訊協定記錄檔目錄的大小上限。 目錄大小達到上限時,伺服器會先刪除最舊的記錄檔。

有效值是最高 909.5 TB (999999999999999 個位元組) 的數值或 unlimited 值。 預設值為 250 MB (262144000 個位元組)。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

此參數的值必須小於或等於 SendProtocolLogMaxDirectorySize 參數的值。

此參數只有在 Set-transportservice 指令程式的 IntraOrgConnectorProtocolLoggingLevel 參數設定為 Verbose 值時才有意義。

Type:Unlimited
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

-SendProtocolLogMaxFileSize

SendProtocolLogMaxFileSize 參數指定信箱傳輸提交服務中隱含與隱藏之組織內傳送連接器通訊協定記錄檔的大小上限。 當記錄檔達到其最大的檔案大小時,將建立新的記錄檔。

有效值是最高 909.5 TB (999999999999999 個位元組) 的數值或 unlimited 值。 預設值為 10 MB (10485760 個位元組)。

有效值是最高 1.999999999 TB (2199023254528 個位元組) 的數值或 unlimited 值。預設值是 6 GB (6442450944 個位元組)。

  • B (位元組)
  • KB (千位元組)
  • MB (百萬位元組)
  • GB (十億位元組)
  • TB (TB)

TB (TB)

此參數的值必須小於或等於 SendProtocolLogMaxDirectorySize 參數的值。

此參數只有在 Set-transportservice 指令程式的 IntraOrgConnectorProtocolLoggingLevel 參數設定為 Verbose 值時才有意義。

Type:Unlimited
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

-SendProtocolLogPath

SendProtocolLogPath 參數指定信箱傳輸提交服務中隱含與隱藏之組織內傳送連接器通訊協定記錄檔目錄的位置。 預設位置是 %ExchangeInstallPath%TransportRoles\Logs\Mailbox\ProtocolLog\SmtpSend。 記錄檔會自動儲存於下列子目錄:

  • 提交:信箱傳輸提交服務中組織內傳送連接器的通訊協定記錄檔。
  • 傳遞:訊息傳遞至信箱之後提交的副作用訊息通訊協定記錄檔。 例如,傳遞至信箱的郵件會觸發收件匣規則,將郵件重新導向至另一個收件者。

此參數請勿使用 $null 值,因為如果已啟用性星姓信箱傳輸服務中之組織內傳送連接器的通訊協定記錄,就會產生事件記錄錯誤。 若要停用此連接器的通訊協定記錄,請使用 Set-TransportService Cmdlet 上 IntraOrgConnectorProtocolLoggingLevel 參數的值 None。

Type:LocalLongFullPath
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

-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 2013, Exchange Server 2016, Exchange Server 2019

輸入

Input types

若要查看此指令程式可接受的輸入類型,請參閱指令程式輸入和輸出類型。 如果指令程式的 [輸入類型] 欄位是空的,表示指令程式不接受輸入資料。

輸出

Output types

若要查看此指令程式可接受的傳回類型 (也就是所謂的輸出類型),請參閱指令程式輸入和輸出類型。 如果 [輸出類型] 欄位是空的,表示指令程式不會傳回資料。