共用方式為


about_Windows_RT

簡短描述

說明 Windows RT 8.1 上 Windows PowerShell 4.0 的限制。

詳細描述

Windows RT 8.1 作業系統安裝在電腦和裝置上(例如 Microsoft Surface 2,其為隨附於電腦的操作系統),這些操作系統使用進階 RISC 計算機 (ARM) 處理器。

Windows RT 8.1 中包含 Windows PowerShell 4.0。 所有 Cmdlet、提供者和模組,以及針對 Windows PowerShell 2.0 和更新版本所設計的大多數腳本,都會在 Windows RT 8.1 上執行,而不需要變更。

因為 Windows RT 8.1 不包含所有 Windows 功能,某些 Windows PowerShell 功能的運作方式不同,或無法在 Windows RT 型裝置上運作。 下列清單說明差異。

  • Windows PowerShell ISE 未包含在 中,且無法在 Windows RT 8.1 上執行。 Windows PowerShell ISE 需要 Windows Presentation Foundation,此基礎不包含在 Windows RT 8.1 中。

  • 預設會停用 Windows PowerShell 遠端處理和 WinRM 服務。 若要啟用遠端功能,請執行 Enable-PSRemoting Cmdlet。 此外,請執行 Set-Service Cmdlet,將 WinRM 服務的啟動類型設定為 [自動] 或 [自動] (延遲啟動)。

    停用遠端處理時,您可以使用 Windows PowerShell 遠端在其他電腦上執行命令,但其他電腦無法在 Windows RT 裝置上執行命令。 此外,隱含遠端 - 也就是 Cmdlet 或腳本內建的遠端處理,且未明確要求新增參數

    • 無法在 Windows RT 8.1 上執行的 Windows PowerShell 中運作。
  • Windows RT 8.1 不支援加入網域的運算和 Kerberos 驗證。 您無法使用 Windows PowerShell 來新增或管理這些功能。

  • Windows RT 8.1 上不支援的 Microsoft .NET Framework 類別也不受 Windows RT 8.1 上的 Windows PowerShell 支援。

  • Windows RT 8.1 上未啟用交易。 交易 Cmdlet,例如 Start-Transaction,以及 UseTransaction 等交易參數無法正常運作。

  • Windows RT 8.1 裝置上的所有 Windows PowerShell 會話都會使用 ConstrainedLanguage 語言模式。 ConstrainedLanguage 語言模式是使用者模式程式代碼完整性 (UMCI) 的隨附專案。 它允許所有 Windows Cmdlet 和 Windows PowerShell 語言元素,但會限制類型,以確保使用者無法使用 Windows PowerShell 來規避或違反 UMCI 保護。

如需限制語言模式的詳細資訊,請參閱 about_Language_Modes

另請參閱