Arrays [sourcecode lang="powershell"] $array = 1,2,3,4 $array 1 2 3 4 $array.Length [/sourcecode]
PowerShell – Case Select
[sourcecode language="powershell"] switch ($a) { "Value" { Write-Output "A: $a" } "Value" { Write-Output "A: $a" } default { Write-Output "A: $a"} } [/sourcecode]
