PowerShell - native on CentOS

as a follow-on to my earlier post, install PowerShell onto Ubuntu, I decided to spin up a CentOS box.

easy!

POWERSHELL_DOWNLOAD_URL=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
curl $POWERSHELL_DOWNLOAD_URL –-output powershell.rpm

sudo yum install powershell.rpm

powershell