IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

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."

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.

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

Four strategies for building a hybrid workplace that works

All indications are that the future of work is hybrid, if it's not here already

Free webinar

The digital marketer’s guide to contextual insights and trends

How to use contextual intelligence to uncover new insights and inform strategies

Free Download

Ransomware and Microsoft 365 for business

What you need to know about reducing ransomware risk

Free Download

Building a modern strategy for analytics and machine learning success

Turning into business value

Free Download

Recommended

Microsoft to double salary budget to retain workers
Careers & training

Microsoft to double salary budget to retain workers

17 May 2022
Microsoft warns of new botnet variant targeting Windows and Linux systems
Security

Microsoft warns of new botnet variant targeting Windows and Linux systems

16 May 2022
Windows Server admins say latest Patch Tuesday broke authentication policies
Server & storage

Windows Server admins say latest Patch Tuesday broke authentication policies

12 May 2022
Actively exploited Windows vulnerability reaches peak severity when paired with popular attack
Security

Actively exploited Windows vulnerability reaches peak severity when paired with popular attack

11 May 2022

Most Popular

Russian hackers declare war on 10 countries after failed Eurovision DDoS attack
hacking

Russian hackers declare war on 10 countries after failed Eurovision DDoS attack

16 May 2022
Windows Server admins say latest Patch Tuesday broke authentication policies
Server & storage

Windows Server admins say latest Patch Tuesday broke authentication policies

12 May 2022
Microsoft to double salary budget to retain workers
Careers & training

Microsoft to double salary budget to retain workers

17 May 2022