PowerShell Is Open Sourced, Available On Linux, macOS and Windows

PowerShell as an open source project on GitHub, available on Windows, Linux and macOS!

Share online:

'Microsoft love Linux', this is what Satya Nadella had said today, while announcing that PowerShell goes open-source, and is also now available on Windows, Mac, and Linux.

On August 18, 2016, follwing this announcement, implementing PowerShell on new platforms Linux and macOS now becomes possible for anyone who needs it. "Being able to run the same scripts on each OS without having to spin up virtual machines will facilitate development and reduce friction across developers who have made different choices of environment," the team stated.

When deploying applications into production, being able to run PowerShell scripts on Linux means more flexibility in the choice of target environments, and easier migrations to and from Linux and Windows servers.

Of course, the transition to an open-source model will not only see community contributions, but also "more transparent design processes and bug tracking."

Finally, it's worth pointing out that PowerShell and PowerShell scripts can now run on .NET Core.

Additionally, they said, PowerShell Remoting Protocol (MS-PSRP) will later extend to use OpenSSH as a native transport. "Users will have the option to use SSH or WINRM as a transport."

In addition, also announcing new investments to help manage Linux environments via the Microsoft Operations Management Suite.

For those of you who need a refresher, "PowerShell is a task-based command-line shell and scripting language built on the .NET Framework to help IT professionals control and automate the administration of the Windows, and now Linux, operating systems and the applications that run on them."

Nadella fiurther said, that they're actively contributing to numerous open source projects (e.g. OpenSSH, FreeBSD, Mesos, Docker, Linux and many more) across the industry.

His further announcements include:

  • SQL Server on Linux, as well as open sourced .NET.
  • added Bash to Windows 10 to make it a great platform for developing OSS.
  • created a PowerShell Editor Service. This allow users to choose from a range of editors (VS Code and Sublime with others to follow) and get a great PowerShell authoring experience with Intellisense, debugging, etc.

As of today, August 18, the company has made available "alpha" releases of PowerShell Core on Linux Ubuntu, Red Hat, CentOS, and Mac OS X including 10.11 El Capitan, on GitHub as a binary release.

More platforms will be available in the future, Nadella said.

In the future, theu company say it' deliver an official Microsoft released version of PowerShell based on open source to anyone running a supported version of Windows or *nix.

Additionally, Microsoft also will be releasing the source code for both the Windows and Linux versions of PowerShell today.

To get on with PowerShell, a great way to start learning is with Learning PowerShell repository on GitHub.

Also a free Microsoft Virtual Academy online course: Getting Started with PowerShell 3.0 Jump Start is available today.