Powershell Language Reference

Hash tables

Functions

If/else

Operators, including comparisons

All language reference topics


#Get an element from an ordered dictionary
 function getADirectory ($seq) {
     [System.Collections.Hashtable]$d = $dirDictionary;
     [System.Collections.ICollection]$list = $d.Keys
     [string[]]$keyList = @($list.GetEnumerator())
     $keyList.Get($seq)
 }

Pipelines

SOF topic: Where is documentation on the PowerShell language?

MS docs Quoting strings

Escape chars are documented here

String API

Powershell Command line parameters are discussed here in docs