PowerShell: Install, Print Version

By Xah Lee. Date: . Last updated: .

PowerShell is useful on linux and mac too.

Microsoft rewrote it so now it's open source project, works natively on linux and Mac.

Old version is called Microsoft PowerShell. New cross platform version is called PowerShell Core.


Microsoft Windows

Microsoft PowerShell is bundled since Windows 7 (released in 2009).

Download the new Cross Platform version at https://github.com/PowerShell/PowerShell


Download at https://github.com/PowerShell/PowerShell


Download at https://github.com/PowerShell/PowerShell

Start PowerShell

In Windows, press ❖ Window+r then type powershell.

PowerShell ISE (Integrated Scripting Editor) is a editor designed for running PowerShell.

Type powershell_ise to start.


On Mac, type pwsh to start it.


On linux, type powershell to start it.

There's no PowerShell ISE for Linux and Mac.

Exit PowerShell

type exit to quit.

Show PowerShell Version

Type $PSVersionTable

(not case sensitive)

powershell windows 2020-03-19 j7sn3
PowerShell core on Windows 10. 2020-03-19
powershell macos 2020-03-19 8jtfn
PowerShell on MacOS, 2020-03-19
2017 05 09 162151 705x535 scrot
PowerShell in linux

PowerShell Builtin Help

PowerShell Builtin Help

If you have a question, put $5 at patreon and message me.


xah powershell logo