PowerShell Core 6.0 現在可在 Windows、macOS 和 Linux 上使用

閱讀時間圖標 1分鐘讀


讀者幫助支持 MSpoweruser。如果您透過我們的連結購買,我們可能會獲得佣金。 工具提示圖標

請閱讀我們的揭露頁面,了解如何幫助 MSPoweruser 維持編輯團隊的發展 阅读更多

微軟今天 宣布 一般可用 PowerShell核心6.0. PowerShell Core 6.0 是第一個跨平台企業支持的版本,它也是 開放源碼. 最初的 Windows PowerShell 是在 .NET Framework 之上構建的。 為了使其跨平台,PowerShell Core 構建在 .NET Core 之上。 它可以在 Windows 上作為 pwsh.exe 啟動,在 macOS 和 Linux 上作為 pwsh 啟動。 以下平台正式支持 PowerShell Core:

  • Windows 7、8.1和10
  • Windows 服務器 2008 R2、2012 R2、2016
  • Windows Server 半年頻道
  • Ubuntu 14.04、16.04 和 17.04
  • Debian 8.7+ 和 9
  • CentOS 7的
  • 紅帽企業Linux 7
  • OpenSUSE 42.2
  • 軟呢帽 25、26
  • macOS 10.12以上

微軟今天還宣布,他們沒有向 Windows PowerShell 發布新功能的計劃。 所以,這個新的 PowerShell Core 6.0 就是未來。

您可以在 Windows 上下載 PowerShell Core 請點擊這裡 在 macOS 和 Linux 上 請點擊這裡.

有關主題的更多資訊: 核心6.0, 跨平台, 一般可用性, Linux的, MacOS, 開放源碼, PowerShell的, PowerShell核心6.0, 窗口