Installing PowerShell Core 6.0 on Linux Distros
-
Microsoft has open sourced PowerShell and has made moves to get it working on enterprise Linux distros and on Mac OSX. Currently you can install PowerShell on CentOS, RHEL and Ubuntu. Look for more Linux family members to get it soon. We can hope that Suse will be coming. This is PowerShell Core 6.0 that is currently released.
On CentOS 7:
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/microsoft.repo yum install -y powershell
Yes, PowerShell on CentOS is easier to deploy and update than on Windows!
That's it, the command to start it is simply powershell
-
What, no Ubuntu love after all the Ubuntu fixing we've done today?
-
BTW, can't say I am shocked, but the Ubuntu directions do not work on that link, even after changing to 16.10.
Apparently it isn't ready yet from MS.
Sigh, Linux. Oh sorry, sorry.
Sigh, Ubuntu.
-
Workaround (if anyone cares)...
http://hen.co.za/blog/2016/11/how-to-install-powershell-on-ubuntu-16-10/
-
@BRRABill said in Installing PowerShell Core 6.0 on Linux Distros:
Workaround (if anyone cares)...
http://hen.co.za/blog/2016/11/how-to-install-powershell-on-ubuntu-16-10/
Can I connect to my windows systems with it yet? lol.
-
@dafyre said in Installing PowerShell Core 6.0 on Linux Distros:
@BRRABill said in Installing PowerShell Core 6.0 on Linux Distros:
Workaround (if anyone cares)...
http://hen.co.za/blog/2016/11/how-to-install-powershell-on-ubuntu-16-10/
Can I connect to my windows systems with it yet? lol.
That's what everyone is waiting on, full PowerShell remoting. Once they have that, Linux is the ultimate Windows management platform. It will literally double the chances of me deploying a Windows system. The lack of good remote access to manage Windows makes it to cumbersome and expensive for us to even consider. If Windows Servers worked as easily and fully as Linux with SSH, it would change a lot.
-
Don't think that Microsoft doesn't know that the big dollar, high end admins and engineers don't drive a lot of purchasing and with things like DevOps the more junior admins out there are getting less and less of a say. "Oh you need a GUI for that?" Well you used to cost us 10% more, now you cost us 200% more. That's a big difference.
-
Planning to test this out soon.