PowerShell is an actively used programming language created in 2006.

13Years Old 19,254Users 2Jobs

Example code from the Hello World Collection:

# Hello World in Microsoft Powershell

'Hello World!'

Example code from Linguist:

#!/usr/bin/env pwsh

# source:  https://github.com/PowerShell/PowerShellStandard/blob/3436bfc162d6804dd11d1d76c4faff486b4b405d/build.ps1

param ( 
    [Parameter(ParameterSetName="Clean")][switch]$Clean,
    [Parameter(ParameterSetName="Test")][switch]$Test
)

import-module $PSScriptRoot/PowerShellStandard.psm1 -force

if ( $Clean ) {
    Start-Clean
    return
}

Start-Build

if ( $Test ) {
    Invoke-Test
}

Example code from Wikipedia:

name value1 value2
name -Param1 value1 -Param2 value2
Edit

Last updated February 11th, 2019