Programming Powershell

Installation

For additional info please check PowerShell GitHub Repo.

Windows

Probably you have it already installed. Just open a PowerShell Prompt (not CMD). Anyway, it is recommended to download and install PowerShell Core so you’re using the latest version.

Linux

Follow these instructions and start it typing pwsh or sudo pwsh on bash (use the second one to start PowerShell with Root privileges).

Mac

Follow these instructions and start it typing pwsh or sudo pwsh on bash (use the second one to start PowerShell with Root privileges).

Equilaterus CLI-Tools

We’ve created a set of scripts to make easier your life: See GitHub Repo.

Command Line Util - Snippet

If you don’t want to use our CLI-Tools, here is a snippet to create a basic PowerShell utility:

write-host "TITLE"
write-host "DESCRIPTION"
write-host "`n`n========================================"

# ADD YOUR COMMANDS HERE

# END COMMANDS SECTION

write-host "`n`n========================================"
write-host "`nPress any key to quit..."
[void][System.Console]::ReadKey($true)

Equilaterus (CC-BY) 2018 - 2019.