Appendix. PowerShell 6.0 for Windows, Linux, and macOS

 

The PowerShell community was stunned (not too dramatic a word) in August 2016 when Microsoft announced that the core of PowerShell was going to be open source. Not only that, but PowerShell would now be available on Linux and Apple operating systems as well as Windows. Jeffrey Snover had been hinting in presentations at the PowerShell Summit (https://powershell.org/summit/) and other venues for a few years that he’d like to see PowerShell as an open source project, but it wasn’t expected to happen so soon.

Note

The open source project includes the core PowerShell engine. Many of the non-core modules will also be ported. Many existing modules should work with PowerShell v6 due to the use of .NET standard 2.0.

In this appendix, we’ll give you an overview of the open source project, explain the differences between PowerShell Core and the PowerShell you find on your Windows machine, and demonstrate the differences between running PowerShell on Linux/macOS compared to the experience you have on Windows.

The PowerShell open source project

PowerShell on Linux and macOS

PowerShell remoting and Linux

DSC and Linux

Summary