PowerShell: Install, Print Version

By Xah Lee. Date: . Last updated: .

Microsoft PowerShell is PowerShell version 5 (released in 2016) or before. For Microsoft Windows only. This is bundled in every Windows 10. It is no longer developed.

PowerShell Core is PowerShell version 6 (released in 2018) or later. It is the new, cross platform version of PowerShell, available for Microsoft Windows, Mac, Linux.

Download

Download the new Cross Platform version for Windows, Mac, Linux at https://github.com/PowerShell/PowerShell

Start PowerShell

Microsoft Windows

In Windows, press ❖ Window (or ❖ Window+r) then type:

pwsh
Start PowerShell version 6 or later, if you have it installed.
powershell
(No longer developed) Start PowerShell version 5 or earlier.

What is powershell_ise?

PowerShell ISE is a Integrated Scripting Editor. It is no longer developed. If you want a integrated editor, Microsoft recommends Visual Studio Code.

Mac

Type pwsh to start it.

Linux

Type pwsh to start it.

Exit

type exit to quit.

Print Version

Type $PSVersionTable

powershell windows 2021-01-10 SgYJZ
powershell on Windows 2021-01-10
powershell macos 2020-03-19 8jtfn
PowerShell on MacOS, 2020-03-19
2017 05 09 162151 705x535 scrot
powershell on linux 2021-01-16

Set Windows Console Font Size

Ctrl + scroll mouse wheel
increase/decrease font size for current window.
Alt+Space p
Set up font size for current window.
Alt+Space d
Set up default font size.
Windows 10 console setting 2021-05-23 hmkds
Windows 10 console setting 2021-05-23
Windows 10 console setting 2021-05-23
Windows 10 console setting 2021-05-23

PowerShell Builtin Help

PowerShell Builtin Help

PowerShell

How-to

Advanced

Script Examples