PowerShell is open sourced and is available on Linux

https://azure.microsoft.com/en-us/blog/powershell-is-open-sourced-and-is-available-on-linux/

First they bring Bash to Windows, and now port PowerShell to Linux.

4 Comments

  1. Tomi Engdahl says:

    Windows PowerShell Blog
    Automating the world one-liner at a time…
    PowerShell on Linux and Open Source!
    https://blogs.msdn.microsoft.com/powershell/2016/08/18/powershell-on-linux-and-open-source-2/

    Since its inception in 2002 PowerShell has been deeply influenced and improved by the passion and needs of our community.

    Satya’s new leadership and customer-focused mindset has encouraged and empowered us to do even more with our community. Last year we started a number of successful community initiatives, such as the PowerShell Home Page, the PowerShell Gallery, and various Open Source projects.

    Today we are thrilled to move to the next level and provide PowerShell as an open source project on GitHub, available on Windows, Linux and macOS! The official announcement blog can be found here and the PowerShell Webinar is here. This is the most dramatic change since the release of V1 so of course, we had to record the moment for history, here is the video of the team making the repo public!

    So, where’s the cool stuff?

    he downloads for the alpha version of PowerShell built in the PowerShell repo that work on: Ubuntu 14.04/16.04, CentOS 7.1, and Mac OS X 10.11.
    The PowerShell open source project is at https://github.com/PowerShell/PowerShell

    There are also a set of investments that we know we need to drive moving forward in this area. These include:

    Additional Linux Distros covered – parity with .NET Core.
    Writing Cmdlets in Python and other languages
    PSRP over OpenSSH
    WSMan based remoting to downlevel versions of Windows and WSMan based PSRP on Linux.
    Editor Services and auto-generated GUI
    Unix-style wildcard expansion
    Increasing test code coverage for Windows and Linux editions
    Continue increasing cmdlet coverage for Linux and Windows

    Reply
  2. Tomi Engdahl says:

    Microsoft has open-sourced PowerShell for Linux, Macs. Repeat, Microsoft has open-sourced PowerShell
    OpenSSH remoting will be baked in, too
    http://www.theregister.co.uk/2016/08/18/microsoft_brings_powershell_to_linux_and_mac_publishes_as_open_source/

    Microsoft has published PowerShell, its scripting and automation platform, as open source under the permissive MIT licence, as well as porting it to Linux and Mac, with an alpha build now available on GitHub.

    PowerShell is built on Microsoft’s .NET platform, and one of the enabling pieces here is .NET Core, the refactored fork of .NET which runs cross-platform. PowerShell “Core” has already turned up on Nano Server, the barebones edition of Windows Server 2016, and the newly announced release will run on .NET Core on Mac and Linux.

    The initial Linux support is for Ubuntu, CentOS and RedHat. “Others will follow,” said Jeffrey Snover, a Microsoft technical fellow and creator of PowerShell, speaking to The Reg. “And we’re open-sourcing it. That’s the source code for PowerShell Windows, which is the version that runs on the full CLR, as well as the PowerShell Core.”

    Another key announcement is that OpenSSH – for remote login using the SSH protocol – will be integrated into PowerShell. “We’re embedding it into the heart of PowerShell,” said Snover. “We’re layering the PowerShell remoting protocol over OpenSSH, as a native transport. Customers will be able to choose the existing WinRM protocol or OpenSSH.”

    Reply
  3. Tomi Engdahl says:

    Your wg*t is broken and should DIE, GitHubber tells Microsoft
    PowerShell applause sours as devs say they don’t care much for Redmond’s curl alias either
    http://www.theregister.co.uk/2016/08/23/your_wget_is_broken_and_should_die_powershellers_tell_microsoft/

    The pull request says the aliases should be spiked: “They block use of the commonly used command line tools without providing even an attempt to offer the same functionality. They serve no purpose for PowerShell users but cause confusion and problems to existing c*rl and wg*t users.”

    Reply
  4. Tomi Engdahl says:

    Shell Game
    http://hackaday.com/2016/08/30/shell-game/

    A lot of us spend a lot of time switching between Windows and Linux.

    What I hate most about Windows is how hard is it to see what’s going on under the hood.

    War is Shell

    One place where Linux always used to have an advantage over DOS and Windows was the shell. There are lots of variations available under Linux, but bash seems to be the current pick for most people.

    In the old DOS days, some of us went to 4DOS which was nice, but no bash

    Windows Power

    Microsoft finally addressed the shortcomings of its default command interpreter, first introducing Windows Scripting Host to allow Javascript and VBScript batch files. Eventually, this was supplanted by Monad which later became known as the Windows PowerShell.

    Shell Shock

    Two things have recently happened that surprised me. First, Microsoft made bash available (and other Linux executables) for Windows 10 as a native application
    I’ve used Cygwin and UWIN to have a very full-featured Linux environment under Windows for years
    Sure, NT used to have a crippled POSIX subsystem, but it wasn’t practical.

    The second piece of news that surprised me is that you can now get PowerShell for Linux or OS/X.

    So now you have several options for using Linux and Windows without going crazy switching between the two:

    Run Linux and put Windows in a virtual machine
    Run Windows and put Linux in a virtual machine
    Use bash everywhere (using Cygwin or the Microsoft product)
    Use PowerShell everywhere

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *

*

*