Home  >  Article  >  System Tutorial  >  How to install Powershell on Centos 7

How to install Powershell on Centos 7

WBOY
WBOYforward
2024-01-02 22:50:29962browse

Powershell has been open source for some time, and there is a brief introduction on the technet blog.

PowerShell on Linux and Open Source! | Windows PowerShell

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

The above link contains a wealth of open source powershell resources for everyone to learn and refer to.

The following is to install the powershell tool on centos 7.

The download address of the rpm installation package of powershell for centos 7 is:

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

Download the installation package to centos 7 and run the command below to install it. It is very simple.

Centos 7上面安装Powershell的方法

After the installation is complete, we can run get-command to check the cmdlets currently supported by powershell on Linux.

Centos 7上面安装Powershell的方法

Then we test the execution of commands, such as the write-host command. The user experience is completely consistent with the window version.

Centos 7上面安装Powershell的方法

The above is the detailed content of How to install Powershell on Centos 7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete