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."
Sorry, but I wouldn't put this on a linux box to save my soul.