PowerShell: Install, Print Version

By Xah Lee. Date: . Last updated: .

Download

Microsoft Windows

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

Mac

mac powershell 2018-07-25 80beb
powershell on Mac 2018-07-25

Run in terminal brew cask install powershell

or

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

Linux

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

Start PowerShell

In windows, press ❖ Window then type powershell.

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

Type powershell_ise to start.

Mac

On Mac, type pwsh to start it.

Linux

On linux, type powershell to start it.

There's no PowerShell ISE for Linux and Mac.

Show PowerShell Version

Type $PSVersionTable to see your PowerShell version.

screenshot 2018-07-25 dc485
powershell on Mac.
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.

PowerShell

  1. Install
  2. Help Command
  3. PowerShell as cmd.exe
  4. list Alias, find Alias
  5. Piping Output and Input
  6. Environment Variables
  7. Predefined Variables
  8. Creating PowerShell Scripts
  9. PowerShell vs Bash