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//m.sbmmt.com/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:
//m.sbmmt.com/link/4342309e4ba71c9a7d478ed061abd025
Download the installation package to centos 7 and run the command below to install it. It is very simple.
After the installation is complete, we can run get-command to check the cmdlets currently supported by powershell on Linux.
Then we test the execution of commands, such as the write-host command. The user experience is completely consistent with the window version.
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!