簡體   English   中英

PowerShell 3腳本會在Windows 7上運行嗎?

[英]Will PowerShell 3 script run on Windows 7?

包含PowerShell 3 cmdlet的PowerShell 3腳本是否可以在Windows 7 Professional或Enterprise的vanilla安裝上運行? 如果不是,所需的最低先決條件是什么?

(抱歉,Powershell新手)

安裝的Windows 7使用Powershell 2.0版。

對於Powershell v.3.0,您需要在Windows 7 sp1和.net框架4上使用Windows Management Framework 3.0

正如Christian在他的回答中所說:PowerShell V3安裝適用於Windows Vista,7,Server 2008 R2和Server 2008。

但請注意:

  • 要升級ISE(集成腳本環境),必須應用V3安裝之前啟用該功能(這會影響默認為無ISE的服務器)。

  • 如果腳本依賴於Windows 8或2012操作系統或其組件(例如Hyper-V)引入的cmdlet,則這些不是PowerShell V3的一部分,並且不會作為V3升級的一部分添加。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM