Microsoft Brings PowerShell to Linux and Mac
The task-based command-line shell and scripting language of PowerShell is now open source and available for Linux and Mac. For starters, it's available for Ubuntu, Centos and Red Hat. It will also run on Mac OS X. The company says more platforms will be added soon.
IT professionals rely on PowerShell, which is built on the .NET Framework, to automate the administration of Windows and Linux. In a statement on the company's Azure site, Microsoft said the change was a response to user requests. "Microsoft wants to earn customers’ preference as the platform for running all their workloads – Linux as well as Windows. This new thinking empowered the .NET team to port .NET Core to Linux and that in turn, enabled PowerShell to port to Linux as well."
Microsoft also announced some other changes. It added a PowerShell Editor Service, which offers you a range of editors (VS Code and Sublime to start). This means IT pros will enjoy a PowerShell authoring experience with Intellisense, debugging and more. Microsoft is also extending the PowerShell Remoting Protocol to use OpenSSH as a native transport.
Reportedly, some cmdlets that use Windows-only features won't be available on other platforms, and scripts originally written for Windows will have to be modified. AWS and VMware have partnered with Microsoft to bring cmdlets for PowerShell that will work across platforms.
Alpha build downloads and the source code are available now on GitHub. The more people who download and comment, the faster the updates will be.