文章詳情頁
Centos 7上面安裝Powershell的方法
瀏覽:121日期:2022-06-06 15:39:59
powershell開源已經有一段時間了,在technet的blog上面也有簡單的介紹。
PowerShell 2.0 win2003中文版
- 類型:腳本軟件
- 大小:6.4MB
- 語言:簡體中文
- 時間:2012-12-05
PowerShell on Linux and Open Source! | Windows PowerShell
Blog https://blogs.msdn.microsoft.com/powershell/2016/08/18/powershell-on-linux-and-open-source-2/
上面這個鏈接里面包含豐富的開源powershell的資源供大家學習和參考。
下面是在centos 7上面安裝powershell工具。
centos 7的powershell的rpm安裝包的下載地址是:
https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
把安裝包下載到centos 7上,運行下圖的命令進行安裝即可,特別簡單。
安裝完成后,我們可以運行get-command查看一下Linux上面的powershell目前支持的cmdlet。
然后我們測試一下命令的執行情況,比如write-host命令,用戶體驗方面和window版本的完全一致。
相關文章:
1. centos7使用docker部署gitlab-ce-zh應用詳解2. centos7如何設置密碼規則?centos7設置密碼規則的方法3. Centos7安裝完畢后無法聯網顯示Server not found如何解決?4. Win10右鍵菜單添加PowerShell腳本新建項方法5. Win10使用PowerShelll讓Cortana朗讀小說的操作技巧6. CentOS7.3怎么安裝?使用DVD ISO鏡像安裝CentOS7.3的方法7. centos7安裝后缺少網卡如何解決?8. Windows找不到文件Windows PowerShell.lnk怎么辦?9. CentOS7默認的快捷鍵怎么修改設置?10. CentOS7無法使用Tab鍵補全命令的解決方法
排行榜