ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installing PowerShell Core 6.0 on Linux Distros

    News
    powershell linux powershell core powershell core 6 ostechnix centos rhel ubuntu
    4
    8
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      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

      1 Reply Last reply Reply Quote 3
      • BRRABillB
        BRRABill
        last edited by

        What, no Ubuntu love after all the Ubuntu fixing we've done today?

        1 Reply Last reply Reply Quote 0
        • BRRABillB
          BRRABill
          last edited by

          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.

          1 Reply Last reply Reply Quote 1
          • BRRABillB
            BRRABill
            last edited by

            Workaround (if anyone cares)...

            http://hen.co.za/blog/2016/11/how-to-install-powershell-on-ubuntu-16-10/

            dafyreD 1 Reply Last reply Reply Quote 1
            • dafyreD
              dafyre @BRRABill
              last edited by

              @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.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @dafyre
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 1
                  • StrongBadS
                    StrongBad
                    last edited by

                    Planning to test this out soon.

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post