PowerShell goes open source, comes to Linux and MacOS

Microsoft releases its scripting tool to non-Windows platforms

PowerShell, Microsoft's scripting and automation tool for Windows, is being open sourced, with alpha versions coming for Linux and MacOS.

The company announced the tool will be released for the Red Hat, CentOS and Ubuntu distros as well as OS X, with binaries and source code available via GitHub.

"In the past, Microsoft's business focus meant that .NET, and thus PowerShell, were only available on Windows. But this is a new Microsoft," Jeffrey Snover, a technical fellow with the company's enterprise cloud group, wrote in an official blog post.

"Satya's leadership and Azure have shifted us to a more open, customer-centric, mindset," he wrote. "Microsoft wants to earn customers' preference as the platform for running all their workloads - Linux as well as Windows."

Advertisement - Article continues below
Advertisement - Article continues below

The announcement marks Microsoft's latest effort to court the open source community, and follows the decision to bring .Net Core to non-Windows platforms earlier this year.

Opening up PowerShell to other operating systems is a win-win from the sysadmin and developer perspective. Not only will it allow Windows-based IT professionals to easily transfer their skills to increasingly popular Linux environments, having another weapon in their arsenal will doubtless please open source admins.

Microsoft has traditionally operated a distinctly closed ecosystem with regards to its back-end tools, but is now opening them up in order to lure more people onto its cloud platform.

The strategy appears to be working - Snover wrote that almost one in three Azure-hosted VMs run on Linux, with open source software making up close to 60% of the Azure Marketplace's third-party IaaS offerings.

Microsoft has even partnered with Amazon, with new AWS PowerShell cmdlets enabling customers to administer cloud services using the tool. Also announced was the launch of PowerShell Editor Service, allowing PowerShell to read Visual Studio Code and Sublime Text, with other editors to be forthcoming.

Some other features are in the works, too. Remote access for Linux is still being worked on, and Microsoft employees are currently the only ones who can submit git commits to the PowerShell repos.

Advertisement - Article continues below

The plan, Microsoft said, is to release Powershell on general availability at some point during the first half of 2017, but it said that it will be guided by the community, and when users think that it is ready.

Featured Resources

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now



Microsoft Surface Laptop 3 13in review: Almost the perfect laptop

6 Dec 2019

Microsoft Surface Laptop 3 15in review: Ryzen falls

4 Dec 2019

The IT Pro Podcast: Is the future multi-cloud?

29 Nov 2019

Microsoft Teams surpasses 20 million daily users

20 Nov 2019

Most Popular

identity and access management (IAM)

44 million Microsoft customers found using compromised passwords

6 Dec 2019

Five signs that it’s time to retire IT kit

29 Nov 2019
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Microsoft Windows

This exploit could give users free Windows 7 updates beyond 2020

9 Dec 2019