首頁  >  文章  >  系統教程  >  如何在Centos 7上安裝Powershell

如何在Centos 7上安裝Powershell

WBOY
WBOY轉載
2024-01-02 22:50:29958瀏覽

powershell開源已經有一段時間了,在technet的blog上面也有簡單的介紹。

PowerShell on Linux and Open Source! | Windows PowerShell

##Blog 

https://www.php.cn/link/4c6515356f214aa275e07ddbbd922a5e

上面這個連結裡麵包含豐富的開源powershell的資源供大家學習和參考。

下面是在centos 7上面安裝powershell工具。

centos 7的powershell的rpm安裝套件的下載位址是:

https://www.php.cn/link/4342309e4ba71c9a7d478ed061abd025

把安裝包下載到centos 7上,執行下圖的指令進行安裝即可,特別簡單。 Centos 7上面安装Powershell的方法

#安裝完成後,我們可以執行get-command查看Linux上面的powershell目前支援的cmdlet。 Centos 7上面安装Powershell的方法

#接著我們測試一下指令的執行情況,像是write-host指令,使用者體驗方面和window版本的完全一致。 Centos 7上面安装Powershell的方法

#######

以上是如何在Centos 7上安裝Powershell的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:jb51.net。如有侵權,請聯絡admin@php.cn刪除