Getting PowerShell on Linux
Well it’s not just an announcement, you can actually get PowerShell on Linux and MacOS right now from GitHub – here!
Installing PowerShell
Once you’ve downloaded an installation file you can use RPM or apt to install the package. If you’re on a Mac…well just double click on the package!
yum install powershell-6.0.0_alpha.9-1.el7.centos.x86_64.rpm
If you’re on Ubuntu, you’ll need a little more stuff read this.
Running PowerShell
We’ll there’s really not much to that, just type powershell at the command prompt an you’re off and running!
[root@localhost ~]# powershell
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS /root> Get-Content /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
PS /root>
The post Getting Started With PowerShell on Linux appeared first on Centino Systems Blog.