Friday, 19 August 2016 10:38

Open-source PowerShell released for Linux, OS X


Microsoft has announced that Windows PowerShell will be released as an open source program and has built an binary alpha version that will run on some Linux distributions and OS X.

PowerShell is a task-based command-line shell and scripting language built on the .NET Framework. Linux and other UNIX-like operating systems have long had scripting available through different command-line interfaces.

This is the third big move by Microsoft in making its software available on Linux. SQL Server was announced some time back and then the core of the .NET framework was open-sourced.

The alpha binary will run on Red Hat, CentOS and Ubuntu and Mac OS X.

In a post on the Microsoft Azure blog, Jeffrey Snover, technical fellow from the Microsoft Enterprise Cloud Group, said the initial release would be community supported but down the line an official Microsoft released version of PowerShell, based on open source, would be released to anyone running a supported version of Windows or UNIX.

"The timing of the official Microsoft version will be based upon community input and business needs," he added.

Asked for his reaction to the Microsoft move on PowerShell, Debian developer and sysadmin Russell Coker said he was sure that some people in the Linux community would be opposed to it.

"But I think that all free software is good," he said. "If the software is available under a suitable licence so that anyone can use it and modify it without legal risk — i.e. no potential claims that they infringe copyright by working on other shells after reading PowerShell code then that's a good thing.

"If some Linux users find that PowerShell suits their needs better than Perl or bash programs that's great too."

Veteran FreeBSD developer Marshall Kirk McKusick said he had been very pleased with "the recent pivot of Microsoft to first accept the use/importance of open-source software by their customers and now to fully embrace it and join its ranks".

"The article you cite shows this transformation on many levels. They understand that to get community involvement they cannot just throw the source up on some internal website. Rather they have to put it up on github, monitor and manage mailing lists, and be responsive to pull requests," he said.

McKusick pointed out that Microsoft had certainly been supportive of FreeBSD. "They helped folks on the project write and tune the Hyper-V drivers needed to make FreeBSD work well on Azure. They also helped get FreeBSD available as one of the virtual-machine options on Azure. They even provided a testimonial about FreeBSD."

"One word? Indifferent," was the reaction of senior UNIX sysadmin Craig Sanders, when asked for a reaction to the Microsoft move.

"More words: I don't care much one way or another. I guess it'll be useful for those who want to use it and not for those that don't. PowerShell has some advantages (like piping objects and structured data between programs) in its native environment (Windows), but I'm not sure how that'll translate to Linux - my guess is that the cool object piping will only work with Mono apps, so it'll probably be useful for Mono devs and users."

Sanders, who has been a developer with the Debian GNU/Linux project for many years, added: "I'll probably get around to looking at PowerShell on Linux one of these years, but I doubt if PowerShell will add anything of any use to me.

"I'll keep using sh or Bash for scripting. Or Perl or Python for tasks beyond what Bash is good for - Bash has array support, even associative arrays now, but if you need to do any serious data processing you still need to use Awk or Perl or Python or something."


You cannot afford to miss this Dell Webinar.

With Windows 7 support ending 14th January 2020, its time to start looking at your options.

This can have significant impacts on your organisation but also presents organisations with an opportunity to fundamentally rethink the way users work.

The Details

When: Thursday, September 26, 2019
Presenter: Dell Technologies
Location: Your Computer


QLD, VIC, NSW, ACT & TAS: 11:00 am
SA, NT: 10:30 am
WA: 9:00 am NZ: 1:00 pm

Register and find out all the details you need to know below.



iTWire can help you promote your company, services, and products.


Advertise on the iTWire News Site / Website

Advertise in the iTWire UPDATE / Newsletter

Promote your message via iTWire Sponsored Content/News

Guest Opinion for Home Page exposure

Contact Andrew on 0412 390 000 or email [email protected]


Sam Varghese

website statistics

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.



Recent Comments