1. 程式人生 > >3分鐘帶你了解PowerShell發展歷程——PowerShell各版本資料整理

3分鐘帶你了解PowerShell發展歷程——PowerShell各版本資料整理

msdn 發展 mona ack html 工作 lease int -1

本文帶你了解PowerShell發展歷程,順便整理了一點資料,方便大家查詢。

Windows PowerShell? 是基於任務的命令行管理程序和腳本語言,專為進行系統管理而設計。 在 .NET Framework 的基礎上構建的 Windows PowerShell 可幫助 IT 專業人士和高級用戶控制和自動執行 Windows 操作系統以及在 Windows 上運行的應用程序的管理。

UNIX 系統一直有著功能強大的腳本(shell),Windows PowerShell 的誕生就是要提供功能相當於 UNIX 系統 BASH 的命令行外殼程序,同時也內建腳本語言以及輔助腳本程序的工具。

在2002年,微軟開始研究一個新的產品叫做”Monad”,第一個公開測試版本是在2005年6月發布的,到2006年4月,微軟把它重新命名為Windows PowerShell。從2006年微軟正式發布Windows PowerShell 1.0以來,目前已經更新到了5.1版本。各個版本的相關信息如下:

技術分享

Note:如果默認Windows集成版本中有,可以直接開啟Feature,對於其它可支持Windows版本,點擊下面下載地址去安裝獨立更新包。

各版本獨立包下載地址如下:

  • Windows PowerShell 1.0:

https://support.microsoft.com/en-us/help/926139/windows-powershell-1.0-english-language-installation-packages-for-windows-server-2003-and-for-windows-xp。

https://support.microsoft.com/en-us/help/928439/windows-powershell-1.0-installation-package-for-windows-vista。

  • Windows PowerShell 2.0:

https://support.microsoft.com/en-us/help/968929/windows-management-framework-windows-powershell-2.0,-winrm-2.0,-and-bits-4.0。

  • Windows PowerShell 3.0:

https://www.microsoft.com/en-us/download/details.aspx?id=34595。

  • Windows PowerShell 4.0:

https://www.microsoft.com/en-us/download/details.aspx?id=40855。

  • Windows PowerShell 5.0:

https://www.microsoft.com/en-us/download/details.aspx?id=50395。

  • Windows PowerShell 5.1:

https://www.microsoft.com/en-us/download/details.aspx?id=54616。

另外在2016年8月18日,微軟宣布開源跨平臺版本的PowerShell可以支持Windows,macOS,CentOS和Ubuntu多個操作系統了,叫做PowerShell Core,基於.NET Core運行。

各版本新添加功能參考鏈接如下:

  • Windows PowerShell 1.0:https://support.microsoft.com/en-us/help/928439/windows-powershell-1.0-installation-package-for-windows-vista。
  • Windows PowerShell 2.0:https://support.microsoft.com/en-us/help/968929/windows-management-framework-windows-powershell-2.0,-winrm-2.0,-and-bits-4.0。
  • Windows PowerShell 3.0:https://msdn.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-windows-powershell-50#BKMK_wps3。
  • Windows PowerShell 4.0:https://msdn.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-windows-powershell-50#BKMK_wps4。
  • Windows PowerShell 5.0:https://msdn.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-windows-powershell-50#BKMK_new50。
  • Windows PowerShell 5.1:https://msdn.microsoft.com/en-us/powershell/wmf/5.1/release-notes。

Windows PowerShell是個很強大的工具,很多現有的成型產品都有對應的PowerShell API,如SQL Server、NetApp Data ONTAP、Windows Azure和SharePoint等,因此學會使用它對Windows上的開發工作有很大的幫助。這次就先介紹到這裏了,以後還會有更多的資料整理和更新。

[原創文章,轉載請註明出處,僅供學習研究之用,如有錯誤請留言,如覺得不錯請推薦,謝謝支持]

[原文:http://www.cnblogs.com/lavender000/p/6931405.html,來自永遠薰薰]

3分鐘帶你了解PowerShell發展歷程——PowerShell各版本資料整理