PowerShell on Linux and Mac


This week Microsoft announced that now PowerShell is open source and it also works on Linux and Mac.

This is possible because the PowerShell runs on the .NET Core, which is Microsoft's new open-source framework for developing cross-platform applications. For details, see the article: Creating a .NET Core Console application in just 5 minutes.

PowerShell open source project is available at: https://github.com/PowerShell/PowerShell and alphas downloadable versions are available for the following operating systems:

After installation, simply type powershell in the prompt to run PowerShell. In the following picture, I ran the Get-Process cmdlet to list the running processes of Ubuntu machine:

powershellonlinux

 

So far there are 345 commands available cross-platform, being 210 cmdlets and 135 functions:

cmdlets

For more details, see the articles:

PowerShell on Linux and Open Source!

PowerShell Official Page.

PowerShell is open sourced and is available on Linux

https://github.com/PowerShell/PowerShell/releases/

 

Skip to main content