about_Windows_RT

適用於: Windows PowerShell 3.0, Windows PowerShell 4.0, Windows PowerShell 5.0

主題

about_Windows_RT

簡短描述

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

詳細描述

Windows RT 8.1 作業系統安裝在使用 Advanced RISC Machine (ARM) 處理器的電腦和裝置上 (例如在 Microsoft Surface 2 上,其為隨附於電腦的作業系統)。

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 保護措施。

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

關鍵字

about_ARM

about_PowerShell_on_ARM

about_PowerShell_on_Surface

about_Windows_RT_8.1

about_WindowsRT

另請參閱

about_Language_Modes

about_Remote

about_Windows_PowerShell_ISE

about_Workflows

Windows PowerShell 系統需求:(https://technet.microsoft.com/library/hh857337.aspx)