Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

請試想下列案例:

  • 您可以在 Exchange Server 2013 環境中針對 Microsoft Exchange server 部署不同的累計更新。

  • 您設定的負載平衡器不會將會話關聯用於 HTTP 和 PowerShell 的命名空間。

  • 您可以使用下列 Exchange 管理命令介面,在負載平衡器中建立遠端 PowerShell 會話: $Session = New-PSSession-ConfigurationName ConnectionUri HTTP://shell.contoso.com-AllowRedirectionImport-PSSession $Session

在這種情況下,連接不會成功。 此外,您會收到與下列內容類別似的 WSMan-InvalidShellID 錯誤:

新的 PSSession: [shell.contoso.com] 從遠端伺服器 shell.contoso.com 處理資料失敗,並出現下列錯誤訊息: [Set-clientaccessserver =IDNumber、BackEndServer = [contoso .com]、[FailureCategory =]、TimeStamp =日期/時間] [InvalidShellID = WSMan-ShellId] 在伺服器上找不到 Shell,因此使用 ShellIDNumner ShellIDNumner的 Windows remote shell 要求無法執行。可能的原因有:指定的 ShellId 不正確,或伺服器上已不存在 shell。 請提供正確的 ShellId 或建立新的 shell,然後重試此操作。 如需詳細資訊,請參閱 bout_Remote_Troubleshooting 說明主題。[....]

原因

之所以發生這個問題,是因為遠端 PowerShell 會話不會經常路由到同一個信箱伺服器。

因應措施

若要解決這個問題,請使用下列其中一個方法:

  • 將負載平衡器設定為使用 [會話關聯] 或 [暫留]。

  • 讓 Exchange 伺服器在負載平衡中使用相同的累積更新組建。

解決方案

若要修正此問題,請安裝Exchange Server 2013 的累積更新 11或更新的累積更新。

狀態

Microsoft 已確認本篇文章<適用於>一節所列之 Microsoft 產品確實有上述問題。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×