編碼的世界 / 優質文選 / 財富

windos7升級powershell到4.0版本步驟


2021年7月04日
-   

      為了更好的使用Cmder v1.2,不得不升級powershell為4.0。
      不知道Cmder的,可以點擊這裏:https://github.com/cmderdev/cmder 和 逆天神器 cmder。
Powershell是運行在windows機器上實現系統和應用程序管理自動化的命令行腳本環境。 powershell需要.NET環境的支持,同時支持.NET對象。當前powershell有四版本,分別為1.0,2.0,3.0 ,4.0 。
      如果您的系統是window7或者Windows Server 2008,那麼PowerShell 2.0已經內置了,可以升級為3.0,4.0。 
      如果您的系統是Windows 8 或者Windows server 2012,那麼PowerShell 3.0已經內置了,可以升級為4.0。 
      如果您的系統為Windows 8.1或者Windows server 2012 R2,那默認已經是4.0了。
關於powershell 4.0更詳細的介紹:Windows Management Framework 4.0 正式版發布
powershell 4.0 需要Windows Management Framework 4.0,下載地址:點擊打開鏈接
Windows Management Framework 4.0 需要 Microsoft .NET Framework 4.5,下載地址:點擊打開鏈接
按官方要求,卸載其他任何 Windows Management Framework 4.0 副本,包括任何預發行副本或其他語言的副本。卸載以下幾個,如圖:

然後安裝先前下載好的Microsoft .NET Framework 4.5,再安裝Windows Management Framework 4.0。
安裝完以後重啟計算機。到此powershell 4.0已成功更新,如圖:

熱門文章