Install Powershell on Centos 7

Source: Internet
Author: User

Install Powershell on Centos 7

Powershell has been open-source for a while, and it has been briefly introduced on technet's blog.

PowerShell on Linux and Open Source! | Windows PowerShell Bloghttps: // blogs.msdn.microsoft.com/powershell/2016/08/18/powershell-on-linux-and-open-source-2/

The above link contains a wide range of open source powershell resources for your learning and reference.

The following describes how to install the powershell tool on centos 7.

The rpm installation package for powershell in centos 7 is:

Https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm

Download the installation package to centos 7 and run the command to install it. This is especially simple.

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

Then we can test the command execution, such as the write-host command. The user experience is exactly the same as that of the Windows version.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.