Slashdot Mirror


Microsoft PowerShell Goes Open Source and Lands On Linux and Mac (pcworld.com)

Microsoft announced on Thursday that it is open sourcing PowerShell, its system administration, scripting, and configuration management tool that has been a default part of Windows for several years. The company says it will soon release PowerShell on Mac and Linux platforms. PCWorld reports: The company is also releasing alpha versions of PowerShell for Linux (specifically Ubuntu, Centos and Redhat) and Mac OS X. A new PowerShell GitHub page gives people the ability to download binaries of the software, as well as access to the app's source code. PowerShell on Linux and Mac will let people who have already built proficiency with Microsoft's scripting language take those skills and bring them to new platforms. Meanwhile, people who are used to working on those platforms will have access to a new and very powerful tool for getting work done. It's part of Microsoft's ongoing moves to open up products that the company has previously kept locked to platforms that it owned. The company's open sourcing of its .NET programming frameworks in 2014 paved the way for this launch, by making the building blocks of PowerShell available on Linux and OS X. By making PowerShell available on Linux, Microsoft has taken the skills of Windows administrators who are already used to the software, and made them more marketable. It has also made it possible for hardcore Linux users to get access to an additional set of tools that they can use to manage a variety of systems.

7 of 400 comments (clear)

  1. Heu.. ???? by ls671 · · Score: 5, Insightful

    Embrace, extend and extinguish ???
    Link:
    https://en.wikipedia.org/wiki/...

    --
    Everything I write is lies, read between the lines.
    1. Re:Heu.. ???? by MightyMartian · · Score: 5, Insightful

      Overly verbose, syntactically complex, and most of all just astonishingly slow. I use it because there's no real alternative on Windows, but every time I have to code in PowerShell, I just think "So close to bash, but yet so far away." I cannot imagine anything that would compel me to use Powershell on a *nix system.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    2. Re:Heu.. ???? by Dracos · · Score: 5, Insightful

      After 20 years of MS trying to kill the shell, they relented and decided the Windows platform needed one. But in typical MS style, they asked themselves "How can we make a shell that's notably different from everything else that already works?" and someone piped up "OOP is the Way of Everything." Welcome to another episode of Redmond: Not Invented Here Syndrome.

    3. Re:Heu.. ???? by chispito · · Score: 5, Informative

      And objects, big fucking deal. I've been using Bourne variants for a quarter of a century and never thought "Boy, I wish I had classes".

      You never wished for an object-oriented shell because you are already proficient in Unix shells, and it is clear you have only ever tried to make PS fit the Unix paradigm.

      What I particularly dislike is how it automatically filters output, and you have to use arguments or other applets to give you fuller output.

      Only the view in the console window is filtered by default. If you send the pipeline to a csv or xml, you'll get everything. It filters the console view because there is far more and more complex data being send along. It is not Unix, the pipeline is not compose of flat lines of text.

      --
      The Daddy casts sleep on the Baby. The Baby resists!
  2. Azure, Exchange SQL et al by bernywork · · Score: 5, Interesting

    The reason for doing this I thought would have been obvious, but from the comments it doesn't seem so.

    No Linux admin, who administers standard Linux bare metal or VMs is going to install this, not in a million years, they've got bash scripts with GNU utils, or they learnt Python or Perl or something else years and years ago, they've no use for PowerShell...

    If however, you use Azure (MS *are* the second largest cloud computing provider), and you want to do web scale, Microsoft either needs to start giving out Perl and or Python modules, or they need to get PowerShell on Mac / Linux for people to be able to script their Azure / SQL / Exchange instances so that the admins and devs can integrate with Chef and everything else out there.

    With the amount of work that's gone into Powershell for it to be an admins platform, it's *easier* to port Powershell to Linux than what it is to rebuild powershell for Python or Perl or whatever else.

    --
    Curiosity was framed; ignorance killed the cat. -- Author unknown
  3. Re:A sign of things to come. by nine-times · · Score: 5, Insightful

    I think this is simple a smart move. You don't really have Linux admins saying, "Man, I wish I had Powershell!" as much as you have Windows admins saying, "I spent all this time making Powershell scripts. I wish I could run the same scripts on Linux." They're servicing their own users, and providing extra value in learning to use Microsoft technology.

    This is the sort of thing that I used to think Microsoft was stupid for not doing.

  4. Re:44MB source code by 93+Escort+Wagon · · Score: 5, Funny

    ok seriously, does anyone else know of any shell that not only needs an entire framework install but also has 44MB of shit in it's source code?

    Well, you need to understand that unix-based versions of powershell are actually being implemented through emacs.

    --
    #DeleteChrome