Applies ToWindows Server 2012 Datacenter Windows Server 2012 Datacenter Windows Server 2012 Standard Windows Server 2012 Standard Windows Server 2012 Essentials Windows Server 2012 Foundation Windows Server 2012 Foundation Windows 8 Enterprise Windows 8 Pro Windows 8 Windows RT

本文將告訴您在 Windows 8、 Windows RT 或 Windows Server 2012 執行組 PSDebug指令程式或 Windows PowerShell 指令碼時,會發生的問題。Hotfix 是可以解決這個問題。取出此 hotfix 修正的問題清單。

此 hotfix 中所修正的問題

問題 1

當您執行 Windows PowerShell 指令碼利用工作排程器 」 工具時,指令碼就會偶爾會失敗。

問題 2

請考慮下列情況:

  • 您必須執行 Windows 8、 Windows RT 或 Windows Server 2012 的電腦。

  • 您可以加入組 PSDebug指令程式在 Windows PowerShell 指令碼,以追蹤指令碼行的頂端。

在這個案例中,偵錯追蹤只會顯示行權限後組 PSDebug指令程式。如果您使用 Windows PowerShell 命令列介面來執行指令碼時,偵錯追蹤之後第一次執行指令碼正確。

解決方案

若要解決這個問題,請安裝更新彙總套件 2984005。如需詳細資訊,請按一下下面的文件編號,檢視 「 Microsoft 知識庫 」 中的文︰

2984005 2014 年 9 月更新彙總套件的 Windows RT、 Windows 8 和 Windows Server 2012

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

更多的資訊

如需有關設定 PSDebug指令程式的詳細資訊,請前往下列 Microsoft 網站︰

設定 PSDebug 指令程式的一般資訊如需有關軟體更新術語的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

用來描述 Microsoft 軟體更新標準術語的編號 824684描述

Need more help?

Want more options?

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