Microsoft goes magnanimous,ย open-sources PowerShell for Linux and Mac OS X
The company that was once upon a time berated for being too closeted and cold to developers, seems to have had an open heart surgery under Satya Nadella. Ever since Nadella became CEO of Microsoft, it seems to be a different company altogether. Once upon a time, Microsoft used to hate the very guts of Linux for reasons well known to us. But under Nadella, Microsoft seems to be embracing Linux more and more.
The latest announcement by Microsoft is a step further in that direction.ย Furthering its mission to work more closely with the developer community, Microsoft is open sourcing PowerShell and making it available on Linux and Mac OS X.
Nadella’s Linux overdrive for Microsoft hasย got it to releaseย PowerShell on Githubย under MIT license. Powershell is a proprietary Microsoft platform for scripting and automation. The open sourced Powershell will help developers to portย it to Linux and Mac with an alpha build now available on GitHub.
PowerShell is the companyโs task-based command-line shell and scripting language built on the .NET Framework for running and managing system tasks. Itโs similar to Bash on Linux (which is now natively available in Windows 10 as well) and builds on Microsoftโs efforts to embrace open source software; it open sourced the .NET core back in 2014 and released version 1.0 of the stack in June this year. The initial Powershell Linux support is for Ubuntu, CentOS and RedHat.
According to The Register, Microsoft is also open-sourcing OpenSSH โ for remote login using the SSH protocol โ will be integrated into PowerShell. “Weโre embedding it into the heart of PowerShell,”Jeffrey Snover from Microsoft told The Register. “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.”
In addition, Microsoft is also porting the PowerShell Editor Service to Linux so that it can be baked into text editors for programming and debugging; Visual Studio Code and Sublime already work with this.
The company notes that this initial release is an โalphaโ, and an official Microsoft released version of PowerShell based on open source is in the works too.
If you want to know what Microsoft Powershell is, it has also released aย Learning PowerShell repo. The company is offering a free Microsoft Virtual Academy online courseย for those who want to give Powershell a try.