這種情況。在Windows 7 SP1計算機上,我使用Windows6.1-KB2819745-x64-MultiPkg.msu進行了更新。此外,在PowerShell中,$ PSVersionTable現在報告'PSVersion 4.0'。如何讓PowerShell 4 cmdlet(如Test-NetConnection)在Windows 7上運行?
目前,我的結論是許多PowerShell 4 cmdlet如Test-NetConnection只能在Windows 8.1上運行。但是,我想知道是否可以在我的Windows 7機器上導入PowerShell 4模塊。
您接受的答案是錯誤的。您絕對可以在Windows 7上安裝PowerShell 4命令。 – Keltari