Microsoft PowerShell goes open source and lands on Linux and Mac

The folks in Redmond really do love the open source operating system

Sysadmins, rejoice: PowerShell is coming to Linux and Mac. Microsoft announced Thursday that its automation and scripting system is breaking out of the confines of Windows and going open source.

The company is also releasing alpha versions of PowerShell for Linux (specifically Ubuntu, Centos and Redhat) and Mac OS X. A new PowerShell GitHub page gives people the ability to download binaries of the software, as well as access to the app's source code.   

PowerShell on Linux and Mac will let people who have already built proficiency with Microsoft's scripting language take those skills and bring them to new platforms. Meanwhile, people who are used to working on those platforms will have access to a new and very powerful tool for getting work done. 

It's part of Microsoft's ongoing moves to open up products that the company has previously kept locked to platforms that it owned. The company's open sourcing of its .NET programming frameworks in 2014 paved the way for this launch, by making the building blocks of PowerShell available on Linux and OS X. 

By making PowerShell available on Linux, Microsoft has taken the skills of Windows administrators who are already used to the software, and made them more marketable. It has also made it possible for hardcore Linux users to get access to an additional set of tools that they can use to manage a variety of systems. 

Jeffrey Snover, a Microsoft technical fellow and the architect of PowerShell, said in an interview that the core engine and cmdlets will be the same across PowerShell on Windows, Linux and Mac. Some cmdlets that use Windows-only features won't be available on other platforms, and PowerShell scripts written for Windows may have to be modified to work on Linux and Mac.

Right now, Snover said that Microsoft is still working on finalizing some of PowerShell's remote access capabilities on Linux. But once that's done, administrators will be able to use PowerShell on Windows to remotely manage a fleet of Linux systems, something that customers have been wanting for quite some time. 

They'll also be able to manage them on AWS, thanks to a partnership between Microsoft and Amazon, its biggest competitor in the cloud wars. New AWS cmdlets for PowerShell make it possible for users to administer services in the cloud. 

VMware has also partnered with Microsoft to release new cmdlets for PowerShell that work across platforms, too. 

Thursday's announcement also included the release of the PowerShell Editor Service, which lets Visual Studio Code and Sublime Text work with PowerShell, including support for debugging. Microsoft said that support for other editors will be coming in the future. 

When it comes to the PowerShell open source project, Microsoft will be accepting contributions to it through GitHub. Right now, the only people who can commit changes to PowerShell work for Microsoft, but Snover said that he expects to have committers from the community working on the project in the future. 

Speaking of those contributors, Snover said that Microsoft plans to make PowerShell for Linux generally available during the first half of next year, but its release date will be determined by when members of the community think it's ready. 

Join the PC World newsletter!

Error: Please check your email address.

Tags Microsoft

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Blair Hanley Frank

IDG News Service
Show Comments

Essentials

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?