Powershell Language Reference

satya - 12/7/2019, 6:16:12 PM

Hash tables

Hash tables

satya - 12/7/2019, 6:16:51 PM

Functions

Functions

satya - 12/7/2019, 6:17:05 PM

If/else

If/else

satya - 12/7/2019, 6:17:50 PM

Operators, including comparisons

Operators, including comparisons

satya - 12/7/2019, 6:18:38 PM

All language reference topics

All language reference topics

satya - 12/7/2019, 7:08:42 PM

Helping vscode with type hints


#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)
 }

satya - 12/9/2019, 11:43:31 AM

Pipelines

Pipelines

satya - 1/16/2020, 11:02:22 AM

SOF topic: Where is documentation on the PowerShell language?

SOF topic: Where is documentation on the PowerShell language?

satya - 1/16/2020, 11:04:29 AM

MS docs Quoting strings

MS docs Quoting strings

satya - 1/16/2020, 11:08:16 AM

Escape chars are documented here

Escape chars are documented here

satya - 7/26/2020, 11:06:55 PM

String API

String API

satya - 9/11/2022, 8:36:19 PM

Powershell Command line parameters are discussed here in docs

Powershell Command line parameters are discussed here in docs