Browse by Tags
All Tags »
Lambda »
PowerShell (RSS)
The Take pair of functions are very similar to the Skip functions . The Take expression does essentially the opposite of the Skip functions. Skip is useful for getting elements further down the pipeline. Take is used for getting elements
Read More...
Next up in the PowerShell LINQ series is SkipWhile . This LINQ function takes an enumerable instance and a predicate. The function will skip the elements in the enumerable while the predicate is true. The argument to the predicate is
Read More...
Script blocks are a concise way of representing an expression or statement group in Powershell. It’s the C#/F#/VB lambda equivalent for PowerShell. One difference between C#/F#/VB lambda expressions and a scriptblock is the lack of lexical
Read More...
Script blocks are a powershell construct for storing an expression or group of statements inside an expression. It’s the equivalent of a C#/F#/VB Lamba expression. Recently I needed to use a script block but found I had forgotten how to read
Read More...