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

Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here


It's all about Webinars.

Marketing budgets are now focused on Webinars combined with Lead Generation.

If you wish to promote a Webinar we recommend at least a 3 to 4 week campaign prior to your event.

The iTWire campaign will include extensive adverts on our News Site and prominent Newsletter promotion and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV which will be used in Promotional Posts on the iTWire Home Page.

Now we are coming out of Lockdown iTWire will be focussed to assisting with your webinatrs and campaigns and assassistance via part payments and extended terms, a Webinar Business Booster Pack and other supportive programs. We can also create your adverts and written content plus coordinate your video interview.

We look forward to discussing your campaign goals with you. Please click the button below.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


Sam Varghese

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.

Share News tips for the iTWire Journalists? Your tip will be anonymous




Guest Opinion

Guest Interviews

Guest Reviews

Guest Research

Guest Research & Case Studies

Channel News