DevOps

PowerShell comes to MacOS and Linux. Oh and Windows too

PowerShell Core 6.0 arrives for your CLI-wielding pleasure

By Simon Sharwood

121 SHARE

Microsoft has given the world new versions of PowerShell that bring the popular automation and scripting tool to MacOS and Linux.

PowerShell Core 6.0’s both an upgrade and a replacement for its predecessors.

It’s a replacement because Microsoft is no longer actively developing its predecessor, “Windows PowerShell”. That tool will be kept secure in future updates to Windows Server and Windows.

Those of you looking for future fun, by way of enhancements, need to adopt PowerShell Core. That moniker reflects the fact it runs with the .Net Core, rather than the Windows-only .NET framework.

The change has been made because Microsoft wants sysadmins to have one toolset to work with in whatever operating environment takes their fancy. That idea’s fuelled by Redmond’s belief that in a hybrid cloud world there’s every chance you’ll wrangle Windows or Linux servers from a Mac or penguin-powered machines. Or even a Windows PC.

Microsoft has listed the new features of PowerShell Core 6.0 here. Among the interesting additions are Docker support, sensitivity to the fact that MacOS and Linux filesystems can handle file names that Windows chokes on, SSH remoting and dozens of new cmdlets.

Among some curiosities Microsoft has noted is an unsupported version of the tool for Windows on ARM and another for Rasbpian. There’s also a warning that Linux users may need to do a fresh install of version 6.0 rather than upgrade.

And just to confuse matters, while version 6.0 is the latest and greatest, Microsoft also offers PowerShell Core 5.0 and 5.1 with its Nano Server.

PowerShell Core 6.0 for Windows can be found here, and for MacOS and Linux here. ®

Sign up to our NewsletterGet IT in your inbox daily

121 Comments

More from The Register

Microsoft releases new containerised cut of Windows Server

When Nano Server or Server Core are too small, 'windows' will be in the Goldilocks zone

Windows Server 2008 SP2 gets new support model

Updated What? Remember that Redmond’s added support to 2026 and this makes sense

New Windows Server preview ships with an AI crystal ball

Adds ‘System Insights’ to predict future capacity requirements, but Hyper-V 2019 remains mysterious

Microsoft patches patch for Meltdown bug patch: Windows 7, Server 2008 rushed an emergency fix

If at first you don't succeed, you're Redmond

AMD lures Cisco's server CTO into Epyc new data center gig

Exclusive He's also a player on the Transaction Processing Performance Council

Microsoft adds nothing to new Semi-Annual Windows Server preview

The firewall might not work. It can corrupt data. Why haven't you downloaded it yet?

Using Docker and Windows Server Containers? There's a patch for that

Remote code execution vuln found lurking in Microsoft's open-sourced shim

Windows Server 2019 coming next year and the price is going up

Azure gets more support and Linux still gets Redmond love

Windows Subsystem for Linux is coming to Windows Server

CMD, PowerShell and Bash. Three command line interfaces should be enough for anyone?

Microsoft reveals first Windows Server Insider Build

New software-defined and containerised toys, ahead of September's first full release